Skip to content

Commit

Permalink
perf(python): 10x faster Series construction for bytes/binary data …
Browse files Browse the repository at this point in the history
…when dtype not explicitly set
  • Loading branch information
alexander-beedie committed Dec 5, 2024
1 parent 3fb10e8 commit 5cc49b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions py-polars/polars/datatypes/constructor.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ def numpy_type_to_constructor(
int: PySeries.new_opt_i64,
str: PySeries.new_str,
bool: PySeries.new_opt_bool,
bytes: PySeries.new_binary,
PyDecimal: PySeries.new_decimal,
}

Expand Down

0 comments on commit 5cc49b9

Please sign in to comment.