Skip to content

Change check_freq default to False #35571

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

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions pandas/_testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -1226,7 +1226,7 @@ def assert_series_equal(
check_datetimelike_compat=False,
check_categorical=True,
check_category_order=True,
check_freq=True,
check_freq=False,
rtol=1.0e-5,
atol=1.0e-8,
obj="Series",
Expand Down Expand Up @@ -1271,7 +1271,7 @@ def assert_series_equal(
Whether to compare category order of internal Categoricals.

.. versionadded:: 1.0.2
check_freq : bool, default True
check_freq : bool, default False
Whether to check the `freq` attribute on a DatetimeIndex or TimedeltaIndex.
rtol : float, default 1e-5
Relative tolerance. Only used when check_exact is False.
Expand Down Expand Up @@ -1426,7 +1426,7 @@ def assert_frame_equal(
check_datetimelike_compat=False,
check_categorical=True,
check_like=False,
check_freq=True,
check_freq=False,
rtol=1.0e-5,
atol=1.0e-8,
obj="DataFrame",
Expand Down Expand Up @@ -1486,7 +1486,7 @@ def assert_frame_equal(
If True, ignore the order of index & columns.
Note: index labels must match their respective rows
(same as in columns) - same labels must be with the same data.
check_freq : bool, default True
check_freq : bool, default False
Whether to check the `freq` attribute on a DatetimeIndex or TimedeltaIndex.
rtol : float, default 1e-5
Relative tolerance. Only used when check_exact is False.
Expand Down