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