Skip to content

Commit 1323add

Browse files
authored
add RETURNS for to_list function in series (narwhals-dev#1513)
1 parent 78087b6 commit 1323add

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

narwhals/series.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,9 @@ def to_list(self) -> list[Any]:
575575
your original dataframe, so we recommend only calling this
576576
when you absolutely need to.
577577
578+
Returns:
579+
A list of Python objects.
580+
578581
Examples:
579582
>>> import pandas as pd
580583
>>> import polars as pl

0 commit comments

Comments
 (0)