我想在Jupyter中将R对象读回python。例如,在Jupyter中,此示例读取在python中生成并在R中处理的数据帧。现在我处理此数据帧,并创建一个新的数据帧,以便能够读取到python中。Python单元:
# enables the %%R magic, not necessary if you've al
我创建了一个列表,并用文本文件中的数据填充它: indir = "..."
infiles = [os.path.join(indir, f) for f in os.listdir(indir) if现在我想处理DataFrame矩阵中的数据。例如插入或可能删除一列。 我怎么才能实现它呢?非常感谢你的回答!