pandasでリストの要素を分解して新しい列にする方法2022/8/17 / 1 min readView more blogs with the tag pandas, View more blogs with the tag pythonTable of Contents#はじめに#方法はじめに df から df_s のような df を作成する方法です。 df lst [hoge, 100, 200] df_s name x y name 100 200 方法 import pandas as pd df_s = df['lst'].apply(pd.Series)df_s.columns = ['name', 'x', 'y']