ctf-resources/thm/aoc23/day02/1_packets_captured.py
2024-07-03 21:06:15 +02:00

11 lines
236 B
Python
Executable file

#!/usr/bin/env python3
import pandas as pd
import matplotlib.pyplot as plt
df = pd.read_csv('network_traffic.csv')
df.head(5)
# We need to use Pandas count function on the dataframe
# For example: dataframe.count()
print(df.count())