标签: python python-3.x pandas list dataframe
我有一个多层列表,如下所示:
k=['Country Name','Years',['tariff1', 'tariff2',['intermediate','consumption']]]
我想把它变成:
k=['Country Name','Years','tariff1', 'tariff2','intermediate','consumption']
谢谢!