1pd.io.json.json_normalize(data).pipe(
2 lambda x: x.drop('ProductSMCP', 1).join(
3 x.ProductSMCP.apply(lambda y: pd.Series(merge(y)))
4 )
5).rename(columns=lambda x: re.sub('(Product|Xref)\.', '', x))
6
7 Currency Description Operational TypeLevel1 TypeLevel2 BBT SCSP TCK _id SMCP SMCP2
80 NaN 3 YEAR NaN INTEREST LONG NaN 96 NaN 25 01 NaN
91 USD 10 YEAR True INTEREST LONG CITITYM9 NaN ZN 26 01 02