Randomly sample rows in pandas. ... In [4]:. # to get 3 random rows # each time you run this, you would have 3 different rows ufo.sample(n=3). Out[4]: ...
確定! 回上一頁