helpers/utils.py
def convert_to_pickle(self, traffic_pkl: str, station_pkl: str, mapping_pkl: str) -> None:
        """
            Save the traffic dataset, stations dataset and mappings to pickle files

            Args:
            ----------
            traffic_pkl: str 
                        pickle file path to save the traffic dataset to 

            station_pkl: str 
                        pickle file path to save the stations dataset to

            mapping_pkl: str 
                        pickle file path to save the mappings to

            Returns
            ----------
            None
        """
        self.traffic.to_pickle(traffic_pkl)
        self.station.to_pickle(station_pkl)
        
        with open(mapping_pkl, "wb") as file:
            pickle.dump(self.mappings, file)

            Save the traffic dataset, stations dataset and mappings to pickle files

            Args:
            ----------
            traffic_pkl: str 
                        pickle file path to save the traffic dataset to 

            station_pkl: str 
                        pickle file path to save the stations dataset to

            mapping_pkl: str 
                        pickle file path to save the mappings to

            Returns
            ----------
            None
        
Save the traffic dataset, stations dataset and mappings to pickle files
Args.

str
pickle file path to save the traffic dataset to

str
pickle file path to save the stations dataset to

str
pickle file path to save the mappings to

Returns

None
Save the traffic dataset stations dataset and mappings to pickle files Args . str pickle file path to save the traffic dataset to str pickle file path to save the stations dataset to str pickle file path to save the mappings to Returns None
def convert_to_pickle(self, traffic_pkl: str, station_pkl: str, mapping_pkl: str) -> None:
        self.traffic.to_pickle(traffic_pkl)
        self.station.to_pickle(station_pkl)
        with open(mapping_pkl, "wb") as file:
            pickle.dump(self.mappings, file)
def convert_to_pickle ( self , traffic_pkl : str , station_pkl : str , mapping_pkl : str ) -> None : self . traffic . to_pickle ( traffic_pkl ) self . station . to_pickle ( station_pkl ) with open ( mapping_pkl , "wb" ) as file : pickle . dump ( self . mappings , file )
Save the traffic dataset, stations dataset and mappings to pickle files
Args:
Save the traffic dataset stations dataset and mappings to pickle files Args :
"""
            Save the traffic dataset, stations dataset and mappings to pickle files

            Args:
            ----------
            traffic_pkl: str 
                        pickle file path to save the traffic dataset to 

            station_pkl: str 
                        pickle file path to save the stations dataset to

            mapping_pkl: str 
                        pickle file path to save the mappings to

            Returns
            ----------
            None
        """
self
traffic_pkl
str
station_pkl
str
mapping_pkl
str