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)
- ENH: In sort methods, accept sequence or dict as key HOT 1
- WEB: Broken link to Anaconda HOT 1
- BUG: validate_docstring uses main python executable instead of sys.executable
- BUG: `DataFrame#to_json` in pandas 2.2.0 outputs `Int64` values containing `NA` as floats
- BUG: A Warning is emitted in Pandas 2.2.0 when I change the type of a column using `df.iloc[:, i]=...` HOT 2
- QST: How to become a Collaborator? HOT 1
- DOC: Pandas Case_When HOT 2
- BUG: breaking type annotation of `format_percentiles` function in `io/formats/format.py` HOT 1
- DOC: DeprecationWarning: HOT 1
- error_bad_lines not work, but how do I read data successfully? HOT 3
- BUG: CategoricalDtype.__init__() got an unexpected keyword argument 'categories_dtype' HOT 1
- DOC: `CategoricalDtype` equality semantics aren't completely described HOT 11
- QST: The concept behind how hashes are combined in pandas? HOT 2
- BUG: Importing `Series` with latest `pytest` and Python 3.12 generates DeprecationWarning HOT 2
- BUG: pandas.tseries.offsets.Second() division
- BUG: Series attrs disappear after modifcation to the DataFrame that contains them. HOT 2
- ENH: Preserve input `start`/`end` type in `interval_range` HOT 1
- DOC: Poor Documentation HOT 1
- BUG: BlockManager.references_same_values not working with object-dtype block that has reference to an Index HOT 1
- DOC: Wrong generalization about slice indexing HOT 1
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.