Skip to content

Commit

Permalink
refactor(python): remove unused argument (pola-rs#14014)
Browse files Browse the repository at this point in the history
  • Loading branch information
eitsupi authored Jan 28, 2024
1 parent f12cf73 commit aa045de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions py-polars/polars/utils/_construction.py
Original file line number Diff line number Diff line change
Expand Up @@ -1809,10 +1809,10 @@ def pandas_to_pydf(
)


def coerce_arrow(array: pa.Array, *, rechunk: bool = True) -> pa.Array:
def coerce_arrow(array: pa.Array) -> pa.Array:
import pyarrow.compute as pc

if hasattr(array, "num_chunks") and array.num_chunks > 1 and rechunk:
if hasattr(array, "num_chunks") and array.num_chunks > 1:
# small integer keys can often not be combined, so let's already cast
# to the uint32 used by polars
if pa.types.is_dictionary(array.type) and (
Expand Down

0 comments on commit aa045de

Please sign in to comment.