Closed tgy closed 2 years ago
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.
dict.items
dict_items
DataFrame
This fixes this issue by forcing the construction of a list from the dictionary's (key, value) pairs contained in the dict_items object.
list
(key, value)
Thank you!
On newer versions of Python,
dict.items
returns adict_items
that some versions of pandas cannot use to construct aDataFrame
, raising an exception.This fixes this issue by forcing the construction of a
list
from the dictionary's(key, value)
pairs contained in thedict_items
object.