pybtls.output.Read.traffic.read_traffic#
- read_traffic(file_path, traffic_format)[source]#
Read the traffic data from pybtls results.
- Parameters:
file_path (Path) – The path to the traffic data file.
traffic_format (Literal[1,2,3,4]) –
The format of the .txt traffic file.
1: CASTOR format.
2: BEDIT format.
3: DITIS format.
4: MON format.
- Returns:
The traffic data.
- Return type:
pd.DataFrame