December 2018
Intermediate to advanced
318 pages
8h 28m
English
We have data in a CSV file, a text file separated by commas. While importing the data we also identify the headers in the data. Since we deal with packet capture data from the network, the columns captured are as follows:
pdata_frame = pd.read_csv("path/to/file.csv", sep=',', index_col = 'Sl Num', names = ["Sl Num", "Time", "Source", "Destination","Volume", "Protocol"])
Let's dump the first few lines of the data frame and have a look at the data. The following ...
Read now
Unlock full access