Skip to content
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

check for is_string_dtype and unsupported mixed type #335

Merged
merged 2 commits into from
Oct 9, 2024

Conversation

fdosani
Copy link
Member

@fdosani fdosani commented Sep 29, 2024

Fixes #327

This is a breaking change in that we would no longer support mixed column types. As one can imagine, that mixed types can get super complex and cumbersome to manage.

The proposal here is to NOT support mixed types moving forward with v0.14.0

@fdosani
Copy link
Member Author

fdosani commented Oct 9, 2024

@jdawang @ak-gupta @gladysteh99 friendly ping :)

Copy link
Contributor

@gladysteh99 gladysteh99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than this minor comment, the rest looks good to me!

Comment on lines 802 to 804
if pd.api.types.infer_dtype(col_1).startswith("mixed") or pd.api.types.infer_dtype(
col_1
).startswith("mixed"):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this supposed to be pd.api.types.infer_dtype(col_2).startswith("mixed") instead for the second clause?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ahh yes. typo!

Copy link

@ak-gupta ak-gupta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM pending resolution of @gladysteh99's comment

Copy link
Contributor

@gladysteh99 gladysteh99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@fdosani fdosani merged commit 759efa2 into develop Oct 9, 2024
31 checks passed
@fdosani fdosani deleted the object-string-check branch October 9, 2024 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pandas df with datetime.date cols returns false differences if ignore_case=True
3 participants