如何将pandas数据帧转换为namedtuple?此任务将进行多处理工作。
def df2namedtuple(df): return tuple(df.row)
python namedtuple pandas
namedtuple ×1
pandas ×1
python ×1