Skip to content

Commit 025c5fd

Browse files
committed
FIX : BUG: Float Nullable dtypes not being returned when use_nullable_dtypes=True in pd.read_parquet pandas-dev#45694
Add float types in mapping dictionary
1 parent f956bb5 commit 025c5fd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pandas/io/parquet.py

+2
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,8 @@ def read(
231231
self.api.uint64(): pd.UInt64Dtype(),
232232
self.api.bool_(): pd.BooleanDtype(),
233233
self.api.string(): pd.StringDtype(),
234+
self.api.float32(): pd.Float32Dtype(),
235+
self.api.float64(): pd.Float64Dtype(),
234236
}
235237
to_pandas_kwargs["types_mapper"] = mapping.get
236238
manager = get_option("mode.data_manager")

0 commit comments

Comments
 (0)