Skip to content

Comments

Refactor pandas dtype checks and remove unnecessary dict.keys() usage#1671

Open
vishwas-droid wants to merge 2 commits intoopenml:mainfrom
vishwas-droid:refactor/pandas-clean-v2
Open

Refactor pandas dtype checks and remove unnecessary dict.keys() usage#1671
vishwas-droid wants to merge 2 commits intoopenml:mainfrom
vishwas-droid:refactor/pandas-clean-v2

Conversation

@vishwas-droid
Copy link

  • Replace string-based categorical dtype check with
    isinstance(dtype, pd.CategoricalDtype)
  • Remove unnecessary .keys() usage when iterating over dictionaries
  • No functional changes intended

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.

1 participant