Skip to content

Commit 7456a26

Browse files
committed
Doctest errors corrected online
1 parent 80ede97 commit 7456a26

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pandas/core/arrays/sparse/array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1302,7 +1302,7 @@ def astype(self, dtype: AstypeArg | None = None, copy: bool = True):
13021302
[0.0, 0.0, 1.0, 2.0]
13031303
Fill: 0.0
13041304
IntIndex
1305-
Indices: array([2, 3])
1305+
Indices: array([2, 3], dtype=int32)
13061306
"""
13071307
if is_dtype_equal(dtype, self._dtype):
13081308
if not copy:

pandas/core/groupby/grouper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ class Grouper:
226226
2000-10-01 23:41:00 15
227227
2000-10-01 23:58:00 45
228228
2000-10-02 00:15:00 45
229-
Freq: 17T, dtype: int32
229+
Freq: 17T, dtype: int64
230230
231231
If you want to adjust the start of the bins with an `offset` Timedelta, the two
232232
following lines are equivalent:

0 commit comments

Comments
 (0)