-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Closed
Labels
BugIndexingRelated to indexing on series/frames, not to indexes themselvesRelated to indexing on series/frames, not to indexes themselvesInternalsRelated to non-user accessible pandas implementationRelated to non-user accessible pandas implementationNeeds TestsUnit test(s) needed to prevent regressionsUnit test(s) needed to prevent regressions
Description
cc @jorisvandenbossche this is coming up the quantile tests with --array-manager
index = pd.period_range("2016-01-01", periods=9, freq="D", name="A")
obj = pd.DataFrame(index).copy()
obj.iloc[:] = index._na_value
>>> obj.dtypes
A datetime64[ns]
dtype: object
We'd like to keep period[D]
here.
Metadata
Metadata
Assignees
Labels
BugIndexingRelated to indexing on series/frames, not to indexes themselvesRelated to indexing on series/frames, not to indexes themselvesInternalsRelated to non-user accessible pandas implementationRelated to non-user accessible pandas implementationNeeds TestsUnit test(s) needed to prevent regressionsUnit test(s) needed to prevent regressions