Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Xiao Yuan <[email protected]>
  • Loading branch information
kleinhenz and yuanx749 authored Sep 18, 2024
1 parent 6d7accf commit 61dd637
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pandas/io/parquet.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,12 +245,12 @@ def read(
dtype_backend: DtypeBackend | lib.NoDefault = lib.no_default,
storage_options: StorageOptions | None = None,
filesystem=None,
to_pandas_kwargs=None,
to_pandas_kwargs: dict[str, Any] | None = None,
**kwargs,
) -> DataFrame:
kwargs["use_pandas_metadata"] = True

to_pandas_kwargs = to_pandas_kwargs if to_pandas_kwargs is not None else {}
to_pandas_kwargs = {} if to_pandas_kwargs is None else to_pandas_kwargs
if dtype_backend == "numpy_nullable":
from pandas.io._util import _arrow_dtype_mapping

Expand Down

0 comments on commit 61dd637

Please sign in to comment.