-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
TST: test_column_types_consistent #42725
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
Conversation
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.
precommit is failing: https://github.com/pandas-dev/pandas/pull/42725/checks?check_run_id=3162612999
make sure you do these locally before commit
pandas/tests/generic/test_frame.py
Outdated
@@ -87,6 +88,37 @@ def test_metadata_propagation_indiv_resample(self): | |||
result = df.resample("1T") | |||
self.check_metadata(df, result) | |||
|
|||
def test_column_types_consistent(self): |
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 you move to tests/frame/indexing/test_loc.py
pandas/tests/generic/test_frame.py
Outdated
"A": ["String 1", np.NaN, "String 2"], | ||
"B": [ | ||
Timestamp("2019-06-11 11:00:00"), | ||
np.NaN, |
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.
Coud you use pd.NaT for clairty?
thanks @shiv-io |
This PR adds a test for the following issue: #26779