Bases: nilmtk.datastore.datastore.DataStore
Parameters: | key : str value : pd.DataFrame |
---|
Notes
To quote the Pandas documentation for pandas.io.pytables.HDFStore.append: Append does not check if data being appended overlaps with existing data in the table, so be careful.
Returns: | nilmtk.TimeFrame of entire table after intersecting with self.window. |
---|
Parameters: | key : string, the location of a table within the DataStore. cols : list of Measurements, optional
sections : TimeFrameGroup; or list of nilmtk.TimeFrame objects;
n_look_ahead_rows : int, optional, defaults to 0
chunksize : int, optional |
---|---|
Returns: | generator of DataFrame objects
|
Raises: | KeyError if `key` is not in store. |
Bases: object
Provides a common interface to all physical data stores. Supports hierarchical stores.
The DataStore class lives in the bottom layer of NILMTK. It loads a single chunk at a time from physical location and returns a DataFrame.
Attributes
window | (nilmtk.TimeFrame) Defines the timeframe we are interested in. |
Parameters: | key : str value : pd.DataFrame |
---|
Notes
To quote the Pandas documentation for pandas.io.pytables.HDFStore.append: Append does not check if data being appended overlaps with existing data in the table, so be careful.
Returns: | nilmtk.TimeFrame of entire table after intersecting with self.window. |
---|
Parameters: | key : string, the location of a table within the DataStore. cols : list of Measurements, optional
sections : TimeFrameGroup; or list of nilmtk.TimeFrame objects;
n_look_ahead_rows : int, optional, defaults to 0
chunksize : int, optional |
---|---|
Returns: | generator of DataFrame objects
|
Raises: | KeyError if `key` is not in store. |
Parameters: | input_store : nilmtk.DataStore output_store : nilmtk.DataStore |
---|
Bases: nilmtk.datastore.datastore.DataStore
Parameters: | key : str value : pd.DataFrame |
---|
Notes
To quote the Pandas documentation for pandas.io.pytables.HDFStore.append: Append does not check if data being appended overlaps with existing data in the table, so be careful.
Returns: | nilmtk.TimeFrame of entire table after intersecting with self.window. |
---|
Parameters: | key : string, the location of a table within the DataStore. cols : list of Measurements, optional
sections : TimeFrameGroup; or list of nilmtk.TimeFrame objects;
n_look_ahead_rows : int, optional, defaults to 0
chunksize : int, optional |
---|---|
Returns: | generator of DataFrame objects
|
Raises: | KeyError if `key` is not in store. |