Daily Dose of Data Science

Share this post

Three Lesser-known Tips For Reading a CSV File Using Pandas

www.blog.dailydoseofds.com

Three Lesser-known Tips For Reading a CSV File Using Pandas

Avi Chawla
Dec 14, 2022
3
Share

Here are three extremely useful yet lesser-known tips for reading a CSV file with Pandas:

1. If you want to read only the first few rows of the file, specify the ๐ง๐ซ๐จ๐ฐ๐ฌ parameter.

2. To load a few specific columns, specify the ๐ฎ๐ฌ๐ž๐œ๐จ๐ฅ๐ฌ parameter.

3. If you want to skip some rows while reading, pass the ๐ฌ๐ค๐ข๐ฉ๐ซ๐จ๐ฐ๐ฌ parameter.

Share this post on LinkedIn: Post Link.

Thanks for reading Daily Dose of Data Science! Subscribe for free to receive new posts and support my work.


Find the code for my tips here:ย GitHub.

I like to explore, experiment and write about data science concepts and tools. You can read my articles on Medium. Also, you can connect with me on LinkedIn.

3
Share
Previous
Next
Comments
Top
New
Community

No posts

Ready for more?

ยฉ 2023 Avi Chawla
Privacy โˆ™ Terms โˆ™ Collection notice
Start WritingGet the app
Substackย is the home for great writing