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

8 lines
165 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)
print(df['Protocol'].value_counts())