How does python implement random sampling to build multiple samples?

1. If you want to analyze the reasons for canceling an order, some users will check the cancellation reason after canceling the order. The users who check the cancellation reason constitute a large sample. DataFrame, wants to randomly select 100 random samples from this sample. How to use python to build a cycle?
2.data=pd.read_csv ("data.csv")
sample1=data.sample (nasty 100)" builds a sample, but I want to build 100. how to achieve it?


use list derivation

[data.sample(100) for i in range(100)]