Comments (6)
Um, you installed pandas from the git repo or from PyPI (either is fine)? As you can see I haven't touched the examples in quite a while, and for example I removed the deprecated fillMethod argument from reindex very recently. I plan to make a pass through the docs in the next week or two to update them given all the work I've been putting in on the library. Thanks for letting me know about the examples, I'll take a look and fix them up to be in line with the present API.
The second error is rather weird. I would strongly suggest upgrading your scikits.statsmodels and trying again:
http://pypi.python.org/pypi/scikits.statsmodels/
Let me know
from pandas.
I updated the examples and the online docs per your comments. I need to write significantly more docs in the near future to document new features. Stay tuned.
Let me know if you're still having problems with regressions after you update statsmodels!
from pandas.
I installed pandas from the git repo, and have updated scikits.statsmodels using easy_install. The error from regressions.py is the same. I'm using version scikits.statsmodels 0.3.0rc1.
from pandas.
Can you type
import scikits.statsmodels.api as api
into a python shell
then
api.OLS
and let me know what it says
from pandas.
typing
import scikits.statsmodels.api as api
gives me
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.6/dist-packages/scikits.statsmodels-0.3.0rc1-py2.6.egg/scikits/statsmodels/api.py", line 1, in <module>
import iolib, datasets, tools
File "/usr/local/lib/python2.6/dist-packages/scikits.statsmodels-0.3.0rc1-py2.6.egg/scikits/statsmodels/iolib/__init__.py", line 1, in <module>
from foreign import StataReader, genfromdta, savetxt
File "/usr/local/lib/python2.6/dist-packages/scikits.statsmodels-0.3.0rc1-py2.6.egg/scikits/statsmodels/iolib/foreign.py", line 16, in <module>
from numpy.lib._iotools import _is_string_like, easy_dtype
easy_dtype does exist in lib._iotools in the current version of numpy, but not in the version I have, installed using apt-get (I think I have 1.3.0).
I'll install the current version of numpy, and see if that works.
Thanks for the help!
from pandas.
Ah, that is indeed the problem. See about upgrading to NumPy 1.6. The issue was that I caught an ImportError in pandas when the import convention from statsmodels changed. I can probably get rid of that which will make these errors easier to spot
from pandas.
Related Issues (20)
- BUG: inconsistency in the behaviour of `DatetimeIndex.is_year_start` on the frequency "BYS"
- BUG: Index containing NA behaves absolutely unpredictably when length exceeds 128
- BUG: HOT 3
- BUG: .mode(dropna=False) doesn't work with nullable integers HOT 1
- BUG: iterrows() on an awkward array with equal-length rows results in a ValueError HOT 3
- BUG: float64 convert to int64 get confuse result HOT 1
- QST: HOT 2
- BUG: `diff()` returns confusing output when dealing with negative timestamp deltas HOT 1
- ENH: add "right" argument to "qcut", like "cut" has HOT 2
- BUG: default value for dtype_backend is not applied by default HOT 5
- DOC: add detailed comments pandas/tests/arithmatic/datetime/ line no: 750, test_dti_cmp_tdi_tzawareness HOT 1
- BUG: Refactor test_dti_cmp_tdi_tzawareness function to reduce redundancy pandas/tests/arithmetic/test_datetime64.py HOT 2
- BUILD: HOT 1
- BUG: AttributeError: 'Engine' object has no attribute 'cursor' HOT 5
- BUG: FutureWarning when following documentation HOT 1
- BUG: Column of dtype Categorical in DataFrame encounters error when taking a row that includes nan in the column HOT 3
- DOC: Searching DataFrame.eval( blocks me from the documentation HOT 3
- PERF: groupby is significantly slower for `DatetimeIndex` with timezone HOT 2
- Potential performance regression with "CLN: enforce deprecation of frequencies deprecated for offsets"
- PERF: 100% CPU utilization with matplotlib (macosx)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pandas.