Below is my DF:
df = pd.DataFrame({'Name': ['AZ', 'AF'], 'Other_Name': [np.nan, [{'name': 'ARES ZAN', 'language': 'en', 'type': 'ALTERNATIVE'}]]})
Name Other_Name
0 AZ NaN
1 AF [{'name': 'ARES ZAN', 'language': 'en', 'type': 'ALTERNATIVE'}]
The aim is to replace 'Other_Name' column with 'Other_Name_name', 'Other_Name_language', 'Other_Name_type'
I followed the help from: Slice pandas dataframe json column into columns
Besides, as I have some NaN (which I don't want to remove), the solution isn't working.
Thanks to anyone helping!