code: def load_data(filename, format_file='cloudupdrs'):
          
          
          logging.debug("{} data --> Loaded".format(format_file))
          
          data_frame = load_data(filename, format_file)
          data_frame.sampling_rate = get_sampling_rate_from_timestamp(data_frame)
          
          return data_frame
docs: This is a general load data method where the format of data to load can be passed as a parameter,
  
              :param str filename: The path to load data from
              :param str format_file: format of the file. Default is CloudUPDRS ('cloudupdrs'). Set to 'mpower' for mpower data.
  
              :return DataFrame dataframe: data_frame.x, data_frame.y, data_frame.z: x, y, z components of the acceleration data_frame.index is the datetime-like index