pybtls.output.Read.traffic_statistics.read_TS#

read_TS(file_path, no_lines=None, start_line=1)[source]#

Read the traffic statistics data from pybtls results.

This output file has a header.

Parameters:
  • file_path (Path) – The path to the traffic statistics data file.

  • no_lines (int, optional) –

    The number of data lines to read from the file.

    If not specified, all lines will be read.

  • start_line (int, optional) –

    Default is 1.

    The line to start reading data from.

Returns:

The traffic statistics data.

Return type:

pd.DataFrame