Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Cannot create a DataFrame from list subclass #21226
Code Sample, a copy-pastable example if possible
import pandas class List(list): pass pandas.DataFrame(List([List([1,2,3]), List([4,5,6])]))
It seems it is not possible to create a DataFrame from subclasses of lists. The code seems to have a too strict check.
It should create a DataFrame like it would with regular lists.