-
-
Notifications
You must be signed in to change notification settings - Fork 150
GH1379 Drop OffsetSeries replacing it with Series[BaseOffset] #1390
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,7 +52,6 @@ | |
if TYPE_CHECKING: | ||
from pandas.core.series import ( | ||
IntervalSeries, | ||
OffsetSeries, | ||
) | ||
|
||
if not PD_LTE_23: | ||
|
@@ -947,7 +946,8 @@ def test_series_types_to_numpy() -> None: | |
ts_s = pd.to_datetime(pd.Series(["2020-01-01", "2020-01-02"])) | ||
p_s = pd.Series(pd.period_range("2012-1-1", periods=10, freq="D")) | ||
o_s = cast( | ||
"OffsetSeries", pd.Series([pd.DateOffset(days=1), pd.DateOffset(days=2)]) | ||
"pd.Series[BaseOffset]", | ||
pd.Series([pd.DateOffset(days=1), pd.DateOffset(days=2)]), | ||
) | ||
|
||
i_s = cast("IntervalSeries", pd.interval_range(1, 2).to_series()) | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.