We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://github.com/pandas-dev/pandas/blob/master/pandas/core/ops.py#L490
elif (isinstance(ovalues, datetime.datetime) and hasattr(ovalues, 'tzinfo')):
Is that hasattr(ovalues, 'tzinfo') supposed to be ovalues.tzinfo is not None?
hasattr(ovalues, 'tzinfo')
ovalues.tzinfo is not None
The text was updated successfully, but these errors were encountered:
I can't tell ATM, so change it and find out 😄
Sorry, something went wrong.
do you have an example of something that hits this? I would guess that we have other lines of code which work-around (so this is a no-op).
do you have an example of something that hits this?
pd.date_range('2016-01-01', periods=3).to_series() - pd.Timestamp.now() hits it.
pd.date_range('2016-01-01', periods=3).to_series() - pd.Timestamp.now()
Closed by #19024
No branches or pull requests
https://github.com/pandas-dev/pandas/blob/master/pandas/core/ops.py#L490
Is that
hasattr(ovalues, 'tzinfo')
supposed to beovalues.tzinfo is not None
?The text was updated successfully, but these errors were encountered: