spice_ev.generate.generate_from_csv.csv_to_dict
- spice_ev.generate.generate_from_csv.csv_to_dict(csv_path)
Read CSV file and returns a dict with each element representing a trip
- Parameters:
csv_path (str) – path to input CSV file
- Returns:
dictionary
- Return type:
dict