The problem that python cannot control the corresponding column after reading into csv

import pandas as pd
reader=pd.read_csv
file1 = reader.get_chunk (1000)
file1.columns= ["souceip","sourceport","destport","protocol","flags","fwd","stos","pkt","byt","attack_type"]
print (file1)

here you re-modify the column name to 10

13size

this is a screenshot opened by csv. The data in the second row is useless. I don"t know if it has an impact. Because the dataset is 30 gigabytes, the data will be lost if you delete it and then save it. So what to do, hurry!

Mar.14,2021

when you use read_csv, add the skiprows parameter and ask to ignore the second line.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e43e70-44a69.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e43e70-44a69.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?