Using pandas.io.json.json_normalize() with empty list attributes
问题 I'm using pandas.io.json.json_normalize() to convert some json into a dataframe, which is then pushed to an SQLite database via df.to_sql() . However, I'm getting sqlite3.InterfaceError: Error binding parameter 1 - probably unsupported type. when progressing with this, I think due to one of my json fields being an empty array. I understand I can pass additional path arguments to json_normalize to have it pull out array values and augment the rows with the parent data: json_normalize(json_data