'how to create dataframe from json file if in row dataframe have more 1 data

enter image description here my json data like that, and i want convert to dataframe, and 'hastags' have more 1 data.

import pandas as pd data1=pd.DataFrame(columns=['post id','sentimen','hastag'])

for i in range(0, len(dataku)): currentItem=dataku[i] data1.loc[i] = [dataku[i]['id'],dataku[i]['sentiment'],dataku[i]['hashtags']] output

but i want output like this i want hastag one by one



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source