Skip to content

Commit 940a6e8

Browse files
committed
doctest:+SKIP for df.to_native() call
1 parent b099f87 commit 940a6e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

narwhals/stable/v1/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ def collect(self) -> DataFrame[Any]:
416416
| Use `.to_native` to see native output |
417417
└───────────────────────────────────────┘
418418
>>> df = lf.group_by("a").agg(nw.all().sum()).collect()
419-
>>> df.to_native().sort("a")
419+
>>> df.to_native().sort("a") # doctest:+SKIP
420420
shape: (3, 3)
421421
┌─────┬─────┬─────┐
422422
│ a ┆ b ┆ c │
@@ -441,7 +441,7 @@ def to_native(self: Self) -> IntoFrameT:
441441
>>> import pandas as pd
442442
>>> import polars as pl
443443
>>> import pyarrow as pa
444-
>>> import narwhals.stable.v1 as nw
444+
>>> import narwhals as nw
445445
>>> data = {"foo": [1, 2, 3], "bar": [6.0, 7.0, 8.0], "ham": ["a", "b", "c"]}
446446
>>> df_pd = pd.DataFrame(data)
447447
>>> df_pl = pl.LazyFrame(data)

0 commit comments

Comments
 (0)