使用Pandas从主数据帧创建子数据帧

2024-04-25 12:52:57 发布

您现在位置:Python中文网/ 问答频道 /正文

我想从主数据帧创建子数据帧 我的主数据框看起来或多或少像这个enter image description here 我想把它作为一个子数据帧,如下所示:

first sub dataframesecond sub dataframe

其他的都在另一帧里。我的目标是将我的大数据帧正确地转换为子数据帧。在

如有任何帮助将不胜感激,谢谢:-)


Tags: 数据image目标dataframeheredescriptionfirstenter