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

Leaf-lists (structs) and non-leaf-lists in the same Pandas DataFrame. #449

Merged
merged 1 commit into from
Sep 22, 2021

Conversation

jpivarski
Copy link
Member

Pandas turns the "None" values of a MultiIndex into NaN, and then they're not good keys for dict lookup. The "filler" to use when leaf-lists (multiple levels of column name structure) and non-leaf-lists (single level) are mixed must be empty strings, rather than "None".

@jpivarski jpivarski enabled auto-merge (squash) September 22, 2021 23:30
@jpivarski jpivarski merged commit ee535f6 into main Sep 22, 2021
@jpivarski jpivarski deleted the jpivarski/leaflists-and-int-in-same-DataFrame branch September 22, 2021 23:51
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