helpers/utils.py
def load_pickle() -> Tuple[pd.DataFrame, pd.DataFrame, pd.DataFrame]:
        """
            Load the pickled datasets

            Returns
            ----------
            (traffic, station, mappings): tuple of 3 pd.DataFrame
                    the traffic dataset, stations dataset and mappings
        """
        traffic = pd.read_pickle(traffic_pkl)
        station = pd.read_pickle(station_pkl)
        
        with open(mapping_pkl, "rb") as file:
            mappings = pickle.load(file)
            
        return traffic, station, mappings

            Load the pickled datasets

            Returns
            ----------
            (traffic, station, mappings): tuple of 3 pd.DataFrame
                    the traffic dataset, stations dataset and mappings
        
Load the pickled datasets
Returns

(traffic, station, mappings): tuple of 3 pd.DataFrame
the traffic dataset, stations dataset and mappings
Load the pickled datasets Returns ( traffic station mappings ) : tuple of 3 pd . DataFrame the traffic dataset stations dataset and mappings
def load_pickle() -> Tuple[pd.DataFrame, pd.DataFrame, pd.DataFrame]:
        traffic = pd.read_pickle(traffic_pkl)
        station = pd.read_pickle(station_pkl)
        with open(mapping_pkl, "rb") as file:
            mappings = pickle.load(file)
        return traffic, station, mappings
def load_pickle ( ) -> Tuple [ pd . DataFrame , pd . DataFrame , pd . DataFrame ] : traffic = pd . read_pickle ( traffic_pkl ) station = pd . read_pickle ( station_pkl ) with open ( mapping_pkl , "rb" ) as file : mappings = pickle . load ( file ) return traffic , station , mappings
Load the pickled datasets
Returns
Load the pickled datasets Returns
"""
            Load the pickled datasets

            Returns
            ----------
            (traffic, station, mappings): tuple of 3 pd.DataFrame
                    the traffic dataset, stations dataset and mappings
        """