Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(python)!: Update constructors for Array and Decimal #12837

Merged
merged 2 commits into from
Dec 1, 2023

Conversation

stinodego
Copy link
Member

@stinodego stinodego commented Dec 1, 2023

Note

This is an accellerated breaking change because the intended usage could not be introduced without breaking the previous usage.

Changes

  • Switches around the parameters for both Decimal and Array:
    • Decimal(scale, precision) => Decimal(precision, scale)
    • Array(width, inner) => Array(inner, width)

@github-actions github-actions bot added breaking Change that breaks backwards compatibility enhancement New feature or an improvement of an existing feature python Related to Python Polars labels Dec 1, 2023
@stinodego stinodego marked this pull request as ready for review December 1, 2023 15:02
@stinodego stinodego merged commit c380eb9 into main Dec 1, 2023
20 checks passed
@stinodego stinodego deleted the breaking-dtype-init branch December 1, 2023 15:14
@c-peters c-peters added the accepted Ready for implementation label Dec 1, 2023
@alexander-beedie alexander-beedie added the A-dtype-decimal Area: decimal data type label Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-dtype-decimal Area: decimal data type accepted Ready for implementation breaking Change that breaks backwards compatibility enhancement New feature or an improvement of an existing feature python Related to Python Polars
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants