Preface: When we use Python to process some tables, we often prefer the CSV format. Maybe I think so, because Python comes with a csv library, and the speed of loading and reading a relatively large amount of data is still very fast ( The amount of data of hundreds of thousands is only a few seconds), the code is as follows:
Well, sometimes most of the files in our office are in Excel format. In fact, Excel format is not impossible to process, but whether you use openpyxl, or xlwings, or pandas, if you encounter hundreds of thousands of table loading It will be very slow, and interested friends can check out the articles I wrote before