Randomly Choose pd.Series Entries Based on Single Index Level

后端 未结 0 556
粉色の甜心
粉色の甜心 2021-02-04 03:47

I have two Multi-Indexed pd Series, with level Subject matching in both:

s1 = pd.DataFrame({\'Subject\':[\'S1\', \'S1\', \'S1\', \'S1\', \'S2\', \'S2         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题