翻阅古今
我用以下内容重现了您的问题:import pandas as pddata = {"Sno": [1,2], "column1": ["A","B"], "Column2": ["C", "D"], "Column3":[['Text1', 'Text2', 'Text3'], ['Text4', 'Text5', 'Text6']]}df = pd.DataFrame(data)为了获得您想要的结果,您需要这一行:df['Column3'] = df['Column3'].map(lambda row: (', ').join(row))输出 Sno column1 Column2 Column30 1 A C Text1, Text2, Text31 2 B D Text4, Text5, Text6