Skip to content

Commit b4b69ef

Browse files
committed
opened pandas PR to make NDFame.fillna keyword-only
1 parent 659b219 commit b4b69ef

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

pandas-stubs/core/frame.pyi

+1-1
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ class DataFrame(NDFrame, OpsMixin):
635635
level: Level | None = ...,
636636
errors: IgnoreRaise = ...,
637637
) -> DataFrame | None: ...
638-
@overload # type: ignore[override]
638+
@overload
639639
def fillna(
640640
self,
641641
value: Scalar | NAType | dict | Series | DataFrame | None = ...,

pandas-stubs/core/generic.pyi

+1
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,7 @@ class NDFrame(PandasObject, indexing.IndexingMixin):
392392
def fillna(
393393
self,
394394
value=...,
395+
*,
395396
method=...,
396397
axis=...,
397398
inplace: _bool = ...,

pandas-stubs/core/series.pyi

+1-1
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@ class Series(IndexOpsMixin, NDFrame, Generic[S1]):
787787
inplace: bool = ...,
788788
errors: IgnoreRaise = ...,
789789
) -> Series | None: ...
790-
@overload # type: ignore[override]
790+
@overload
791791
def fillna(
792792
self,
793793
value: Scalar | NAType | dict | Series[S1] | DataFrame | None = ...,

0 commit comments

Comments
 (0)