I want to transform it into a pandas dataframe like this:

Basically i'm trying to normalize the dataset to populate a sql table.
I have used json_normalize to create a separate dataset from genres column but I'm at a loss over how to transform both the columns as shown in the above depiction.
Some suggestions would be highly appreciated.

If the
genre_idis the only numeric value (as shown in the picture), you can use the following: