We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4128829 commit 490c169Copy full SHA for 490c169
pandas-stubs/core/series.pyi
@@ -297,9 +297,9 @@ class Series(IndexOpsMixin[S1], NDFrame):
297
def __new__(
298
cls,
299
data: _ListLike,
300
- dtype: TimestampDtypeArg,
301
- *,
302
index: Axes | None = ...,
+ *,
+ dtype: TimestampDtypeArg,
303
name: Hashable = ...,
304
copy: bool = ...,
305
) -> TimestampSeries: ...
@@ -342,12 +342,12 @@ class Series(IndexOpsMixin[S1], NDFrame):
342
343
) -> IntervalSeries[_OrderableT]: ...
344
@overload
345
- def __new__(
+ def __new__( # type: ignore[overload-overlap]
346
347
data: Scalar | _ListLike | dict[HashableT1, Any] | None,
348
- dtype: type[S1],
349
350
+ dtype: type[S1],
351
352
353
) -> Self: ...
0 commit comments