Skip to content

Conversation

@parthava-adabala
Copy link

@parthava-adabala
Copy link
Author

Thought the fix would be simple but I ran into several edge cases during testing, and so I tried this approach

  1. Find all unique columns while preserving order
  2. Iterate through rows using a complete column list from step 1 to fill in values in order to handle both empty and non-empty rows correctly.

I appreciate any feedback!

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.

BUG: DataFrame.from_dict() drops empty rows with orient='index', inconsistently with empty columns

1 participant