Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
rjzamora committed Aug 16, 2023
1 parent b05d701 commit 330b36d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dask/dataframe/backends.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,8 @@ def get_pandas_dataframe_from_pyarrow(meta, table, **kwargs):
import pyarrow as pa

def default_types_mapper(pyarrow_dtype: pa.DataType) -> object:
# Avoid converting strings from `string[pyarrow]` to `string[python]`
# if we have *some* `string[pyarrow]`
# Avoid converting strings from `string[pyarrow]` to
# `string[python]` if we have *some* `string[pyarrow]`
if (
pyarrow_dtype in {pa.large_string(), pa.string()}
and pd.StringDtype("pyarrow") in meta.dtypes.values
Expand Down

0 comments on commit 330b36d

Please sign in to comment.