Data Preprocessing
How to Sample a Dataframe in Python Pandas
A ready-to-run code with different techniques to sample a dataset in Python Pandas
Published in
4 min readJul 7, 2021
It may happen that you need only some rows of your Python dataframe. You can achieve this result, through different sampling techniques.