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

Fix dataframe creation from dic.items() #21

Merged
merged 1 commit into from
Feb 22, 2022
Merged

Conversation

tgy
Copy link
Contributor

@tgy tgy commented Feb 22, 2022

On newer versions of Python, dict.items returns a dict_items that some versions of pandas cannot use to construct a DataFrame, raising an exception.

This fixes this issue by forcing the construction of a list from the dictionary's (key, value) pairs contained in the dict_items object.

@erdogant erdogant merged commit ab1408b into erdogant:master Feb 22, 2022
@erdogant
Copy link
Owner

Thank you!

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.

None yet

2 participants