Closed
Description
Followings should be changed to coerce to object
dtype.
Coerce to tz-naive / UTC
- Slice (
__getitem__
) resets tz BUG/API: Make consistent API for tz-aware and tz-naive ops #11351 -
.loc
assignment coerces to naive BUG: .loc assignment of datetime with tz is coercing to naive #11365 -
GroupBy.first
coerces to naive Taking first row from each group in groupby sometimes strips tzinfo #10668 -
DataFrame.combine_first
DataFrame combine_first() loses timezone information for datetime columns #10567 -
Index
creation API: DatetimeIndex creation with mixed tz timestamps #11488 -> changed to be Index(dtype=object) (BUG/API: Index creation with different tz coerces DatetimeIndex #11696)
Raises TypeError / ValueError
-
DatetimeIndex.union
raisesTypeError
BUG/API: Make consistent API for tz-aware and tz-naive ops #11351
Bug
-
Series.append
raisesAttributeError
BUG: Series.append with DatetimeBlock and DatetimeTZBlock raises AttributeError #11455 -
concat
raisesIndexError
Inconsistent concat behavior between datetime64[ns] and tz-aware version in 0.17.1 #11693 -
replace
bug in Series.replace with timezone-aware datetime columns #11792