Skip to content

Commit 90437b6

Browse files
fix errors
1 parent ac0ade6 commit 90437b6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/snowflake/snowpark/modin/plugin/docstrings/series_utils.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2642,15 +2642,15 @@ def seconds():
26422642
0 1
26432643
1 2
26442644
2 3
2645-
dtype: int64
2645+
dtype: int8
26462646
26472647
For TimedeltaIndex:
26482648
26492649
>>> tdelta_idx = pd.to_timedelta([1, 2, 3], unit='s')
26502650
>>> tdelta_idx
26512651
TimedeltaIndex(['0 days 00:00:01', '0 days 00:00:02', '0 days 00:00:03'], dtype='timedelta64[ns]', freq=None)
26522652
>>> tdelta_idx.seconds
2653-
Index([1, 2, 3], dtype='int64')
2653+
Index([1, 2, 3], dtype='int8')
26542654
"""
26552655

26562656
@property
@@ -2702,7 +2702,7 @@ def microseconds():
27022702
0 1
27032703
1 2
27042704
2 3
2705-
dtype: int64
2705+
dtype: int8
27062706
27072707
For TimedeltaIndex:
27082708
@@ -2712,7 +2712,7 @@ def microseconds():
27122712
'0 days 00:00:00.000003'],
27132713
dtype='timedelta64[ns]', freq=None)
27142714
>>> tdelta_idx.microseconds
2715-
Index([1, 2, 3], dtype='int64')
2715+
Index([1, 2, 3], dtype='int8')
27162716
"""
27172717

27182718
@property
@@ -2734,7 +2734,7 @@ def nanoseconds():
27342734
0 1
27352735
1 2
27362736
2 3
2737-
dtype: int64
2737+
dtype: int8
27382738
27392739
For TimedeltaIndex:
27402740
@@ -2744,7 +2744,7 @@ def nanoseconds():
27442744
'0 days 00:00:00.000000003'],
27452745
dtype='timedelta64[ns]', freq=None)
27462746
>>> tdelta_idx.nanoseconds
2747-
Index([1, 2, 3], dtype='int64')
2747+
Index([1, 2, 3], dtype='int8')
27482748
"""
27492749

27502750
@property

0 commit comments

Comments
 (0)