Bring Your Logic using Python
341 subscribers
109 photos
1 video
4 files
544 links
Logic building using Python : Materials, links, e-books and Code snippets
Download Telegram
The id of the passed in list does not change:
What is this if name == "__main__": at the end of a #Python script?

It's typically used to include code that ONLY should run if the module / script is called directly and NOT upon importing it.

Example:
The fastest way to read a CSV in Pandas

This article covers:
1. Pandas’ default CSV reading.
2. The faster, more parallel CSV reader introduced in v1.4.
3. A different approach that can make things even faster.

https://pythonspeed.com/articles/pandas-read-csv-fast/