kevinheavey / modern-polars

Code and data for the Modern Polars book
https://kevinheavey.github.io/modern-polars/
Creative Commons Attribution 4.0 International
190 stars 26 forks source link

Replace `.with_column()` by `.with_columns()` #11

Closed ddotta closed 1 year ago

ddotta commented 1 year ago

In sections 2.4.2, 4.2 and 5.1 the Polars code returns a warning DeprecationWarning:DataFrame.with_columnhas been renamed; this redirect is temporary, please use .with_columns instead .with_column(.
Link to documentation.
I'll test it on my side and propose a PR if you agree ?