Skip to content

Commit bfdf31c

Browse files
Update pandas-stubs/core/indexes/base.pyi
Co-authored-by: Yi-Fan Wang <[email protected]>
1 parent 68fc429 commit bfdf31c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas-stubs/core/indexes/base.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ class Index(IndexOpsMixin[S1], ElementOpsMixin[S1]):
380380
def to_series(
381381
self, index: Index | None = None, name: Hashable | None = None
382382
) -> Series[S1]: ...
383-
def to_frame(self, index: bool = True, name: Hashable = ...) -> DataFrame: ...
383+
def to_frame(self, index: bool = True, name: Hashable = lib.no_default) -> DataFrame: ...
384384
@property
385385
def name(self) -> Hashable | None: ...
386386
@name.setter

0 commit comments

Comments
 (0)