-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DEPR: Timestamp.freq #41586
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
DEPR: Timestamp.freq #41586
Changes from 5 commits
07a131d
7f231e7
a511ceb
8f4666d
913ed4b
d222341
1cf43a8
2df27d2
e5edf28
1b8bc03
2f8e61b
7d9d524
c0974c3
4066dd2
3435954
b93b6c1
069ae4c
e10a053
33df636
e6f1c6b
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 |
---|---|---|
|
@@ -50,6 +50,7 @@ def test_set_index_reset_index_dt64tz(self): | |
df = result.set_index("foo") | ||
tm.assert_index_equal(df.index, idx) | ||
|
||
@pytest.mark.filterwarnings("ignore:Timestamp.freq is deprecated:FutureWarning") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What's causing this test to raise a warning? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. looks like it doesnt after one of the more recent comments, good catch, will remove |
||
def test_reset_index_tz(self, tz_aware_fixture): | ||
# GH 3950 | ||
# reset_index with single level | ||
|
@@ -421,6 +422,7 @@ def test_reset_index_multiindex_columns(self): | |
result = df2.rename_axis([("c", "ii")]).reset_index(col_level=1, col_fill="C") | ||
tm.assert_frame_equal(result, expected) | ||
|
||
@pytest.mark.filterwarnings("ignore:Timestamp.freq is deprecated:FutureWarning") | ||
def test_reset_index_datetime(self, tz_naive_fixture): | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Similar question as before: what's causing this test to raise a warning? |
||
# GH#3950 | ||
tz = tz_naive_fixture | ||
|
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.
can we some just avoid setting this?