Patrick Hoefler
Patrick Hoefler
I think this behaves as expected. You can pass ``dtype_backend="pyarrow"`` to keep the list dtype
Interesting, This one works: ``` data = pd.DataFrame({ "Pyarrow" : pd.Series([["a"], ["a", "b"]]), }) data.to_parquet("data.parquet") pd.read_parquet("data.parquet", dtype_backend = "pyarrow") ```
I would recommend using ``dtype_backend="pyarrow"``
cc @jbrockmendel thoughts here?
You can also provide a reproducible example for mysql/postgress
Investigations are welcome
I am not sure that it is sensible to fix this, the new behavior aligns with DataFrame, which didn't support this before either. ``` dates.dt.round("30min") ``` That's what you want...
Hi, thanks for your report. We already have this, through string-dtype: ``` pd.DataFrame({"A": ["one", "two", pd.NA]}, dtype="string").astype("category") ```
Yeah, we should probably add skipna as well
For context: We decided to hold off merging this until after the next release so that we can remove python 3.9 support in the same release