tglite.from_csv

tglite.from_csv(path: str | Path, skip_first=True) TGraph

Creates a TGraph from a csv file

Parameters:
  • path (str or Path) – csv file path

  • skip_first (bool) – whether to skip the first line

Return type:

TGraph

Raises:

TError – if path doesn’t exist