ValueError: arrays must all be same length

Christian Gollwitzer auriocus at gmx.de
Sun Oct 4 05:05:30 EDT 2020


Am 02.10.20 um 14:34 schrieb Shaozhong SHI:
> Hello,
> 
> I got a json response from an API and tried to use pandas to put data into
> a dataframe.
> 
> However, I kept getting this ValueError: arrays must all be same length.
> 
> Can anyone help?
> 
> The following is the json text.  

What do you expect the dataframe to look like? dataframes are 2D tables, 
JSON is a tree.

	Christian



More information about the Python-list mailing list