Are you reading a CSV file into pandas? Your analysis might not require all of the columns - and you can save a lot of memory by selecting only those that you need. In this video, I show you how to select specific columns from a CSV file, either by name or by position.
Jupyter notebooks for my RU-vid videos are all at: github.com/reuven/youTube-notebooks
And don't forget to subscribe to "Better Developers," with free, weekly articles about Python: BetterDevelopersWeekly.com/
3 мар 2022