📅  最后修改于: 2022-03-11 14:48:15.794000             🧑  作者: Mango
df = pd.DataFrame({'author':['a', 'a', 'b'], 'subreddit':['sr1', 'sr2', 'sr2']})
>>> df
author subreddit
0 a sr1
1 a sr2
2 b sr2
...