1、 Built-in module cvs library ,import cvs, operation cvs Suffixed documents
2、、numpy Library loadtxt Method ,loadtxt Used to read files ( Include txt,csv etc. ).gz or .bz Format compressed file , Premise Each line of file data must have the same number of values
numpy Library fromfile Method .
3、pandas library , treatable file type Yes :txt,csv,excel,json、 Shear plate 、 database 、html、hdf wait . Output datagrame Format
5、 Reading and writing excel file ,
There's a lot in the library , Mainly as follows :
xlrd library , Support xls/xlsx
xlwt library , I won't support it xlsx Format modification
openpyxl library , Mainly aimed at xlsx Format excel To read And editors
xlwings library , Support xlsx、xls、xlsm Read and write format files 、 Modification and other operations
xlsxwriter library . Generate excel form , insert data 、 Insert icon and other operations , Reading is not supported
Search for
Copy