Commit b099f87 1 parent 2592495 commit b099f87 Copy full SHA for b099f87
File tree 2 files changed +8
-8
lines changed
2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -513,7 +513,7 @@ def to_native(self: Self) -> DataFrameT:
513
513
│ 2 ┆ 7.0 ┆ b │
514
514
│ 3 ┆ 8.0 ┆ c │
515
515
└─────┴─────┴─────┘
516
- >>> nw.from_native(df_pa).to_native()
516
+ >>> nw.from_native(df_pa).to_native() # doctest:+SKIP
517
517
pyarrow.Table
518
518
foo: int64
519
519
bar: double
Original file line number Diff line number Diff line change @@ -345,12 +345,12 @@ def to_native(self: Self) -> IntoDataFrameT:
345
345
346
346
Calling `to_native` on a Narwhals DataFrame returns the native object:
347
347
348
- >>> nw.from_native(df_pd).to_native()
348
+ >>> nw.from_native(df_pd).to_native() # doctest:+SKIP
349
349
foo bar ham
350
350
0 1 6.0 a
351
351
1 2 7.0 b
352
352
2 3 8.0 c
353
- >>> nw.from_native(df_pl).to_native()
353
+ >>> nw.from_native(df_pl).to_native() # doctest:+SKIP
354
354
shape: (3, 3)
355
355
┌─────┬─────┬─────┐
356
356
│ foo ┆ bar ┆ ham │
@@ -361,7 +361,7 @@ def to_native(self: Self) -> IntoDataFrameT:
361
361
│ 2 ┆ 7.0 ┆ b │
362
362
│ 3 ┆ 8.0 ┆ c │
363
363
└─────┴─────┴─────┘
364
- >>> nw.from_native(df_pa).to_native()
364
+ >>> nw.from_native(df_pa).to_native() # doctest:+SKIP
365
365
pyarrow.Table
366
366
foo: int64
367
367
bar: double
@@ -449,12 +449,12 @@ def to_native(self: Self) -> IntoFrameT:
449
449
450
450
Calling `to_native` on a Narwhals DataFrame returns the native object:
451
451
452
- >>> nw.from_native(df_pd).lazy().to_native()
452
+ >>> nw.from_native(df_pd).lazy().to_native() # doctest:+SKIP
453
453
foo bar ham
454
454
0 1 6.0 a
455
455
1 2 7.0 b
456
456
2 3 8.0 c
457
- >>> nw.from_native(df_pl).to_native().collect()
457
+ >>> nw.from_native(df_pl).to_native().collect() # doctest:+SKIP
458
458
shape: (3, 3)
459
459
┌─────┬─────┬─────┐
460
460
│ foo ┆ bar ┆ ham │
@@ -609,12 +609,12 @@ def to_native(self: Self) -> Any:
609
609
610
610
We can then pass either pandas or Polars to `func`:
611
611
612
- >>> func(s_pd)
612
+ >>> func(s_pd) # doctest:+SKIP
613
613
0 1
614
614
1 2
615
615
2 3
616
616
dtype: int64
617
- >>> func(s_pl) # doctest: +NORMALIZE_WHITESPACE
617
+ >>> func(s_pl) # doctest:+SKIP
618
618
shape: (3,)
619
619
Series: '' [i64]
620
620
[
You can’t perform that action at this time.
0 commit comments