-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Timestamp AttributeError #11630
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
You are not calling correct.y
|
then it should fail at the creation of the object, not leave me with something in an inconsistent state that doesn't play nicely in the interpreter. for example
works. calls to repr should never raise an exception. |
actually it should raise if the offset is not code is here pull-requests to fix are welcome. |
I can work on this. |
I'm having some troubles solving this bug. I'm not familiar with I've created a Question in StackOverflow with all the details. |
yes, you need to fix in the SO in general is not helpful with this kind of thing. |
I don't understand what's wrong here. This is the log of the build. There are lots of warnings but nothing that help me identify the route cause of the issue. The build also doesn't fail, however when I try to run the nosetests immediately after I get this error message:
Interestingly if I remove my changes I can build and then run nosetests without problems. My code however seems fine to me. I've just added an else statement and imported the DateOffset class:
|
trying putting a debugging statement right before the import then you can see where its called. you have a circular import is the issue. |
Changes to isoformat in current HEAD corrected this. File "pandas/tslib.pyx", line 567, in pandas.tslib.Timestamp.isoformat (pandas/tslib.c:13019) |
No longer sure that this works as expected, I will pull the change by @IamGianluca from above ... |
pandas 0.17.0, python 2.7.10:
The text was updated successfully, but these errors were encountered: