Working with Python's pandas library for data analytics? If your data set is very large, you might sometimes want to work with a random subset of it. The "sample" method is perfect for that. In this video, I demonstrate the ways in which you can use the "sample" method on your data frames to get back precisely the number (or fraction) of rows you want.
Jupyter notebooks for all of my videos are at https://github.com/reuven/youTube-not....
And don't forget to sign up for my free, weekly Python newsletter at https://BetterDevelopersWeekly.com/!
On this page of the site you can watch the video online Getting a random sample from your pandas data frame with a duration of hours minute second in good quality, which was uploaded by the user Python and Pandas with Reuven Lerner 27 February 2022, share the link with friends and acquaintances, this video has already been watched 12,229 times on youtube and it was liked by 251 viewers. Enjoy your viewing!