The result.dtypes of pd.pivot_table is None after execution.
To Reproduce
In [50]: df = pd.DataFrame({'col1': [1]*5, "col2":[1,2,3,4,4]}, chunk_size=2)
In [51]: r = pd.pivot_table(df, index="col1")
In [52]: r
100%|████████████████████████████████████████████████████████████████████████████████████| 100.00/100 [00:00<00:00, 1364.40it/s]
col2
col1
1 2.8
In [53]: r.dtypes
In [54]:
Expected behavior
A clear and concise description of what you expected to happen.
Describe the bug
The result.dtypes of
pd.pivot_table
is None after execution.To Reproduce
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.