pandasのdataframeのセルの中にset型やdict型を格納する方法 [Python]

import pandas as pd

df = pd.DataFrame()
df["set"] = [{1,2}, {3}, {4}]
df["dict"] = [{"a": 1, "b": 2}, {"c": 3}, {"d": 4}]

出力

Python

Posted by vastee