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
apply seems to lose timezone awareness. Would expect the following to be invariant:
In [9]: import pandas as pd In [10]: pd.__version__ Out[10]: u'0.17.1' In [11]: ser = pd.Series([pd.Timestamp('2015/01/01', tz='UTC'), pd.Timestamp('2015/01/02', tz='UTC')]) In [12]: ser Out[12]: 0 2015-01-01 00:00:00+00:00 1 2015-01-02 00:00:00+00:00 dtype: datetime64[ns, UTC] In [13]: ser.apply(lambda x: x) Out[13]: 0 2015-01-01 1 2015-01-02 dtype: datetime64[ns]
The text was updated successfully, but these errors were encountered:
xref #11564
cc @kawochen
yeh, .apply return inference is being revamped as of above.
.apply
Sorry, something went wrong.
yep this is a dupe of #11757
No branches or pull requests
apply seems to lose timezone awareness. Would expect the following to be invariant:
The text was updated successfully, but these errors were encountered: