Skip to content

Commit 1ae7bda

Browse files
committed
decorate Series with set_module('pandas')
1 parent 084b199 commit 1ae7bda

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pandas/core/series.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
Substitution,
5151
deprecate_nonkeyword_arguments,
5252
doc,
53+
set_module,
5354
)
5455
from pandas.util._validators import (
5556
validate_ascending,
@@ -229,6 +230,7 @@
229230
# error: Cannot override final attribute "size" (previously declared in base
230231
# class "NDFrame")
231232
# definition in base class "NDFrame"
233+
@set_module("pandas")
232234
class Series(base.IndexOpsMixin, NDFrame): # type: ignore[misc]
233235
"""
234236
One-dimensional ndarray with axis labels (including time series).

0 commit comments

Comments
 (0)