skrf.io.csv.read_all_csv

skrf.io.csv.read_all_csv(dir='.', contains=None)[source]

Read all CSV files in a directory.

Parameters:
  • dir (str, optional) – the directory to load from, default ‘.’

  • contains (str, optional) – if not None, only files containing this substring will be loaded

Returns:

out – dictionary containing all loaded CSV objects. keys are the filenames without extensions, and the values are the objects

Return type:

dictionary