Skip to content

Commit

Permalink
docs: Readability improvements in py-polars (#3700)
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Russell <git@ryanrussell.org>
  • Loading branch information
ryanrussell committed Jun 15, 2022
1 parent da72007 commit 97e24e0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions py-polars/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The Rust crate `polars` has its own changelog.
**Merged pull requests:**

- python collect\_all function [\#1503](https://github.com/pola-rs/polars/pull/1503) ([ritchie46](https://github.com/ritchie46))
- python: remove deprecated code/funcitonallity [\#1502](https://github.com/pola-rs/polars/pull/1502) ([ritchie46](https://github.com/ritchie46))
- python: remove deprecated code/functionallity [\#1502](https://github.com/pola-rs/polars/pull/1502) ([ritchie46](https://github.com/ritchie46))
- Refactor Date/Datetime dtypes [\#1501](https://github.com/pola-rs/polars/pull/1501) ([ritchie46](https://github.com/ritchie46))
- add vertical string concat; closes \#1490 [\#1500](https://github.com/pola-rs/polars/pull/1500) ([ritchie46](https://github.com/ritchie46))
- fix bug in outer\_join functions, add tests [\#1498](https://github.com/pola-rs/polars/pull/1498) ([marcvanheerden](https://github.com/marcvanheerden))
Expand Down Expand Up @@ -345,7 +345,7 @@ The Rust crate `polars` has its own changelog.
- Only first gzip stream of gzipped CSV/TSV files with multiple gzip streams is read. [\#1126](https://github.com/pola-rs/polars/issues/1126)
- implement `__copy__, __deepcopy__` [\#1120](https://github.com/pola-rs/polars/issues/1120)
- pretty print failure output of `frame_equal` assertions [\#1112](https://github.com/pola-rs/polars/issues/1112)
- PanicException when converting non-Utf8 column to Catergorical. [\#1107](https://github.com/pola-rs/polars/issues/1107)
- PanicException when converting non-Utf8 column to Categorical. [\#1107](https://github.com/pola-rs/polars/issues/1107)
- read\_csv of a compressed file fails when selecting a subset of columns [\#1026](https://github.com/pola-rs/polars/issues/1026)
- csv-parser: remove dependency on csv crate. [\#956](https://github.com/pola-rs/polars/issues/956)

Expand Down Expand Up @@ -553,7 +553,7 @@ patch release to fix panic #1077
### polars 0.7.16
* feature
- Series literal may have any length
- change globaly string cache behavior
- change globally string cache behavior
- Add Expr.arg_sort
- Make literals typed

Expand Down Expand Up @@ -643,7 +643,7 @@ patch release to fix panic #1077
* feature
- cast categorical in csv parser: #533
- add many groupby-context aware operations: #534
- dowcast by month: #537
- downcast by month: #537

* performance
- improve iterator in no null case: #538
Expand Down
2 changes: 1 addition & 1 deletion py-polars/src/dataframe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1084,7 +1084,7 @@ impl PyDataFrame {
// We don't use `py.allow_threads(|| gb.par_apply(..)` because that segfaulted
// due to code related to Pyo3 or rayon, cannot reproduce it in native polars
// so we lose parallelism, but it doesn't really matter because we are GIL bound anyways
// and this function should not be used in ideomatic polars anyway.
// and this function should not be used in idiomatic polars anyway.
let df = gb.apply(function).map_err(PyPolarsErr::from)?;

Ok(df.into())
Expand Down
2 changes: 1 addition & 1 deletion py-polars/src/series.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1881,7 +1881,7 @@ pub(crate) fn to_series_collection(ps: Vec<PySeries>) -> Vec<Series> {
let len = ps.len();
let cap = ps.capacity();

// The pointer ownership will be transferred to Vec and this will be responsible for dealoc
// The pointer ownership will be transferred to Vec and this will be responsible for dealloc
unsafe { Vec::from_raw_parts(p, len, cap) }
}

Expand Down

0 comments on commit 97e24e0

Please sign in to comment.