From 330b36d514b10a7c4cae9f85f3751872e4468dcb Mon Sep 17 00:00:00 2001 From: rjzamora Date: Wed, 16 Aug 2023 13:38:51 -0700 Subject: [PATCH] formatting --- dask/dataframe/backends.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dask/dataframe/backends.py b/dask/dataframe/backends.py index a038128962b..f3327199a4d 100644 --- a/dask/dataframe/backends.py +++ b/dask/dataframe/backends.py @@ -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