我们说一下我们的数据如下:
A B
123 John
456 Mary
102 Allen
456 Nickolan
123 Richie
167 Daniel
如果要重复,我们希望基于A列获取检索行,然后将其存储在具有该代号的不同数据框中。
[123 John, 123 Richie], These both will be stored in df_123
[456 Mary, 456 Nickolan], These both will be stored in df_456
[102 Allen] will be stored in df_102
[167 Daniel] will be stored in df_167
预先感谢