We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
In [2]: df = DataFrame({'dates': date_range('20010101', periods=10)}) In [3]: Timestamp('20010109') < df.dates --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-3-713f2b228d0e> in <module>() ----> 1 Timestamp('20010109') < df.dates /home/phillip/Documents/code/py/pandas/pandas/tslib.so in pandas.tslib._Timestamp.__richcmp__ (pandas/tslib.c:9555)() TypeError: Cannot compare Timestamp with 'Series'
but when a Series is on the left hand side, things go swimmingly:
Series
In [4]: df.dates < Timestamp('20010109') Out[4]: 0 True 1 True 2 True 3 True 4 True 5 True 6 True 7 True 8 False 9 False Name: dates, dtype: bool
The text was updated successfully, but these errors were encountered:
related to #3428 which was impossible to fix, but this IS fixable
Sorry, something went wrong.
pr coming shortly
Successfully merging a pull request may close this issue.
but when a
Series
is on the left hand side, things go swimmingly:The text was updated successfully, but these errors were encountered: