Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
stinodego committed Nov 16, 2023
1 parent fc369eb commit c8d9cce
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 11 deletions.
8 changes: 5 additions & 3 deletions py-polars/polars/dataframe/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -9485,9 +9485,11 @@ def hash_rows(
seed_3
Random seed parameter. Defaults to `seed` if not set.
.. note::
This implementation of :func:`hash_rows` does not guarantee stable results
across Polars versions. It only has guaranteed stability within one version.
Notes
-----
This implementation of :func:`hash_rows` does not guarantee consistent results
across different Polars versions. Its stability is only guaranteed within a
single version.
Examples
--------
Expand Down
12 changes: 7 additions & 5 deletions py-polars/polars/expr/expr.py
Original file line number Diff line number Diff line change
Expand Up @@ -5381,11 +5381,13 @@ def hash(
seed_3
Random seed parameter. Defaults to `seed` if not set.
.. note::
This implementation of :func:`hash` does not guarantee stable results
across Polars versions. It only has guaranteed stability within one version.
For use-cases where you require stability across versions, you can use
the following plugin: `polars-hash <https://github.com/ion-elgreco/polars-hash>`_.
Notes
-----
This implementation of :func:`rows` does not guarantee consistent results
across different Polars versions. Its stability is only guaranteed within a
single version.
For use-cases where consistency across versions is required, you can use
the `polars-hash <https://github.com/ion-elgreco/polars-hash>`_ plugin.
Examples
--------
Expand Down
8 changes: 5 additions & 3 deletions py-polars/polars/series/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -5800,9 +5800,11 @@ def hash(
seed_3
Random seed parameter. Defaults to `seed` if not set.
.. note::
This implementation of :func:`hash` does not guarantee stable results
across Polars versions. It only has guaranteed stability within one version.
Notes
-----
This implementation of :func:`hash` does not guarantee consistent results
across different Polars versions. Its stability is only guaranteed within a
single version.
Examples
--------
Expand Down

0 comments on commit c8d9cce

Please sign in to comment.