ctf-resources/thm/aoc23/day02/3_protocol.py

9 lines
165 B
Python
Raw Normal View History

2024-07-03 21:06:15 +02:00
#!/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())