print(pd.__version__)
jsn={'_id':{'a1':10,"l2":{"l3":0}}, "gg":4}
display(pd.json_normalize(jsn,sep='_'))
Actual result:
1.5.2
gg id_a1 id_l2_l3 4 10 0Expected result:
the "_" prefix should not be removed from the beginning of the column names.
1.5.2
gg _id_a1 _id_l2_l3 4 10 0This issue was introduced with the following change:
https://github.com/pandas-dev/pandas/pull/40035/files
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4