Skip to content

Commit

Permalink
docs(python): Fix LazyFrame fetch method references
Browse files Browse the repository at this point in the history
  • Loading branch information
Edwin Vehmaanperä committed Aug 3, 2024
1 parent 618a710 commit 73d18c3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Miscellaneous
LazyFrame.collect
LazyFrame.collect_async
LazyFrame.collect_schema
LazyFrame.fetch
LazyFrame.lazy
LazyFrame.map_batches
LazyFrame.pipe
Expand Down
13 changes: 0 additions & 13 deletions py-polars/polars/lazyframe/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -1889,7 +1889,6 @@ def collect(
See Also
--------
fetch: Run the query on the first `n` rows only for debugging purposes.
explain : Print the query plan that is evaluated with collect.
profile : Collect the LazyFrame and time each node in the computation graph.
polars.collect_all : Collect multiple LazyFrames at the same time.
Expand Down Expand Up @@ -4928,12 +4927,6 @@ def limit(self, n: int = 5) -> LazyFrame:
n
Number of rows to return.
Notes
-----
Consider using the :func:`fetch` operation if you only want to test your
query. The :func:`fetch` operation will load the first `n` rows at the scan
level, whereas the :func:`head`/:func:`limit` are applied at the end.
Examples
--------
>>> lf = pl.LazyFrame(
Expand Down Expand Up @@ -4977,12 +4970,6 @@ def head(self, n: int = 5) -> LazyFrame:
n
Number of rows to return.
Notes
-----
Consider using the :func:`fetch` operation if you only want to test your
query. The :func:`fetch` operation will load the first `n` rows at the scan
level, whereas the :func:`head`/:func:`limit` are applied at the end.
Examples
--------
>>> lf = pl.LazyFrame(
Expand Down

0 comments on commit 73d18c3

Please sign in to comment.