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
Splitted from #11351. Series.append with DatetimeBlock and DatetimeTZBlock raises AttributeError.
Series.append
DatetimeBlock
DatetimeTZBlock
AttributeError
import pandas as pd s = pd.Series([pd.Timestamp('2011-01-01'), pd.NaT]) s #0 2011-01-01 #1 NaT # dtype: datetime64[ns] stz = pd.Series(pd.DatetimeIndex(['2012-01-01', '2012-01-02'], tz='Asia/Tokyo')) stz #0 2012-01-01 00:00:00+09:00 #1 2012-01-02 00:00:00+09:00 # dtype: datetime64[ns, Asia/Tokyo] s.append(stz) # AttributeError: 'numpy.ndarray' object has no attribute 'tz_localize'
The text was updated successfully, but these errors were encountered:
Closed by #12195.
Sorry, something went wrong.
No branches or pull requests
Splitted from #11351.
Series.append
withDatetimeBlock
andDatetimeTZBlock
raisesAttributeError
.The text was updated successfully, but these errors were encountered: