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

fix demo notebook, bump version, improve typing. Release v0.3.1 #17

Merged
merged 1 commit into from
Apr 22, 2024

Conversation

azmyrajab
Copy link
Owner

@azmyrajab azmyrajab commented Apr 22, 2024

This PR provides minor fixes and cosmetic clean-ups:

  1. improves the type annotations of python API functions to ExprOrStr indicating that user can pass shorthand column names if they wish (i.e. pl.col("y").least_squares.ols("x1", "x2") is a supported equivalent of pl.col("y").least_squares.ols(pl.col("x1"), pl.col("x2")))
  2. fixes demo notebook @AdrienDart OLS - ComputeError: the plugin panicked #16. The demo notebook should now be more comprehensive and explains "SolveMethod" and "NullPolicy" usage
  3. forces a "rechunk" on rust series prior to conversion to ndarray because that step ensures contiguous memory and zero-copy to ndarray
  4. bumps version to v0.3.1

@azmyrajab azmyrajab merged commit e120531 into main Apr 22, 2024
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant