Module ImportFrom alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias identifier Import alias Import alias Assign NameStore ListLoad Str Str Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index NameLoad NameLoad For NameStore NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index NameLoad orelse Assign NameStore Dict Str Str NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Index Str For NameStore NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index NameLoad NameLoad For NameStore NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index NameLoad orelse Assign NameStore Dict Str Str NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Index Str For NameStore NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body If CompareIn NameLoad AttributeLoad NameLoad attr body Continue If CompareIn NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore Dict Str Str Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str orelse Assign NameStore Call NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Str Str Str NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num Num body Return NameLoad If CompareEq AttributeLoad NameLoad attr Str body Return Str orelse If CompareEq AttributeLoad NameLoad attr Str body Return Str orelse If CompareEq AttributeLoad NameLoad attr Str body Return Str orelse If CompareEq AttributeLoad NameLoad attr Str body TryExcept body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num handlers ExceptHandler type NameLoad body Return Str TryExcept body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Str Return Str handlers ExceptHandler type NameLoad body Return Str orelse Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Str NameLoad attr Assign NameStore Call AttributeLoad Str attr ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Dict Str Str Str Str Str Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr attr Str Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr attr Str NameLoad Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Yield TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Dict Str SubscriptLoad NameLoad Index Str If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index Str CompareEq SubscriptLoad NameLoad Index NameLoad Str orelse If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index NameLoad orelse If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index NameLoad orelse If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Str Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index NameLoad orelse If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index NameLoad orelse If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index NameLoad orelse Raise NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assert CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num Num Assign NameStore Dict Str Str Str NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad NameLoad Expr Yield TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Dict Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore TupleLoad Str Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad keyword Str Assign NameStore ListLoad For TupleStore TupleStore NameStore NameStore TupleStore NameStore NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr body Assert CompareEq NameLoad NameLoad Assign NameStore Dict Str Str Str Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr attr Str NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list
N/A eemeter.uploader uploaders constants eemeter.uploader.requester Requester datetime date datetime eemeter.location Location eemeter.evaluation Period eemeter.consumption ConsumptionData eemeter.project Project N/A pandas pd N/A pytz N/A re N/A __all__ N/A upload_dicts upload_csvs upload_dataframes upload_dicts N/A N/A project_dict consumption_dict url access_token project_owner verbose N/A True N/A N/A Uploads a set of formatted project and consumption data formatted as
    dicts to a datastore instance.

    Parameters
    ----------
    project_dict : list of dicts
        List of dictionaries with contents something like the following::

            [
                {
                    "project_id": "ID_1",
                    "zipcode": "01234",
                    "weather_station": "012345",
                    "latitude": 89.0,
                    "longitude": -42.0,
                    "baseline_period_end": datetime(2015, 1, 1),
                    "reporting_period_start": datetime(2015, 2, 1),
                },
                ...
            ]

        Extra columns will be treated as project attributes.

    consumption_dict : list of dicts
        List of dictionaries with contents something like the following::

            [
                {
                    "project_id": "ID_1",
                    "start": datetime(2015, 1, 1),
                    "end": datetime(2015, 1, 2),
                    "fuel_type": "electricity",
                    "unit_name": "kWh",
                    "value": 0,
                    "estimated": True,
                },
                ...
            ]

    url : str
        URL of the target datastore, e.g. `https://datastore.openeemeter.org`
    access_token : str
        Access token for the target datastore.
    project_owner : int
        Primary key of project_owner for datastore.
    verbose : bool, default: True
        Whether or not to output a log of progress.
     N/A N/A project_df consumption_df N/A _dicts_to_dataframes project_dict consumption_dict N/A N/A upload_dataframes project_df consumption_df url access_token project_owner verbose N/A upload_csvs N/A N/A project_csv_file consumption_csv_file url access_token project_owner verbose N/A True N/A N/A Uploads a set of formatted project and consumption data formatted as
    CSVs to a datastore instance.

    Parameters
    ----------
    project_csv_file : file object
        File pointer to a CSV with the following columns::

            project_id,zipcode,weather_station,latitude,longitude,baseline_period_end,reporting_period_start

        Extra columns will be treated as project attributes.

    consumption_dict : file object
        File pointer to a CSV with the following columns::

            project_id,start,end,fuel_type,unit_name,value,estimated

    access_token : str
        Access token for the target datastore.
    project_owner : int
        Primary key of project_owner for datastore.
    verbose : bool, default: True
        Whether or not to output a log of progress.
     N/A N/A project_df consumption_df N/A _csvs_to_dataframes project_csv_file consumption_csv_file N/A N/A upload_dataframes project_df consumption_df url access_token project_owner verbose N/A upload_dataframes2 N/A N/A project_df consumption_df url access_token project_owner verbose N/A True N/A N/A Uploads a set of formatted project and consumption data formatted as
    CSVs to a datastore instance.

    Parameters
    ----------
    project_df : pandas.DataFrame
        File pointer to a CSV with the following columns::

            project_id,zipcode,weather_station,latitude,longitude,baseline_period_end,reporting_period_start

        Extra columns will be treated as project attributes.

    consumption_dict : pandas.DataFrame
        File pointer to a CSV with the following columns::

            project_id,start,end,fuel_type,unit_name,value,estimated

    access_token : str
        Access token for the target datastore.
    project_owner : int
        Primary key of project_owner for datastore.
    verbose : bool, default: True
        Whether or not to output a log of progress.
     N/A requester N/A Requester url access_token N/A project_attribute_key_uploader N/A N/A uploaders ProjectAttributeKeyUploader requester verbose N/A project_uploader N/A N/A uploaders ProjectUploader requester verbose N/A project_attribute_uploader N/A N/A uploaders ProjectAttributeUploader requester verbose N/A consumption_metadata_uploader N/A N/A uploaders ConsumptionMetadataUploader requester verbose N/A consumption_record_uploader N/A N/A uploaders ConsumptionRecordUploader requester verbose N/A project_attribute_keys_data N/A _get_project_attribute_keys_data project_df N/A data project_attribute_keys_data N/A N/A response_data N/A N/A project_attribute_key_uploader sync data N/A N/A N/A data update response_data N/A project_ids N/A N/A N/A project_data project_attributes_data N/A _get_project_data project_df project_attribute_keys_data N/A N/A N/A project_data N/A project_owner project_owner N/A project_response_data N/A N/A project_uploader sync project_data N/A project_id N/A project_response_data N/A project_id N/A project_pk N/A project_response_data N/A id N/A N/A project_ids N/A project_pk project_id N/A project_attribute_data project_attributes_data N/A N/A N/A project_attribute_data N/A project project_pk N/A project_attribute_data N/A N/A project_attribute_uploader sync project_attribute_data N/A N/A consumption_metadata_data consumption_records_data N/A _get_consumption_data consumption_df N/A N/A project_id N/A N/A consumption_metadata_data pop project_id N/A N/A project_id project_ids N/A N/A N/A consumption_metadata_data N/A id N/A project_ids N/A project_id N/A N/A project_data N/A project_id project_owner project_id project_owner N/A project_response_data N/A N/A project_uploader sync project_data N/A N/A consumption_metadata_data N/A project N/A project_response_data N/A id N/A consumption_metadata_response_data N/A N/A consumption_metadata_uploader sync consumption_metadata_data N/A consumption_metadata_id N/A consumption_metadata_response_data N/A id N/A consumption_record_data consumption_records_data N/A N/A N/A consumption_record_data N/A metadata consumption_metadata_id N/A consumption_records_response_data N/A N/A consumption_record_uploader bulk_sync consumption_records_data N/A upload_dataframes N/A N/A project_df consumption_df url access_token project_owner verbose N/A True N/A N/A Uploads a set of formatted project and consumption data formatted as
    CSVs to a datastore instance.

    Parameters
    ----------
    project_df : pandas.DataFrame
        File pointer to a CSV with the following columns::

            project_id,zipcode,weather_station,latitude,longitude,baseline_period_end,reporting_period_start

        Extra columns will be treated as project attributes.

    consumption_dict : pandas.DataFrame
        File pointer to a CSV with the following columns::

            project_id,start,end,fuel_type,unit_name,value,estimated

    access_token : str
        Access token for the target datastore.
    project_owner : int
        Primary key of project_owner for datastore.
    verbose : bool, default: True
        Whether or not to output a log of progress.
     N/A requester N/A Requester url access_token N/A project_attribute_key_uploader N/A N/A uploaders ProjectAttributeKeyUploader requester verbose N/A project_uploader N/A N/A uploaders ProjectUploader requester verbose N/A project_attribute_uploader N/A N/A uploaders ProjectAttributeUploader requester verbose N/A consumption_metadata_uploader N/A N/A uploaders ConsumptionMetadataUploader requester verbose N/A consumption_record_uploader N/A N/A uploaders ConsumptionRecordUploader requester verbose N/A project_attribute_keys_data N/A _get_project_attribute_keys_data project_df N/A data project_attribute_keys_data N/A N/A response_data N/A N/A project_attribute_key_uploader sync data N/A N/A N/A data update response_data N/A project_ids N/A N/A N/A project_data project_attributes_data N/A _get_project_data project_df project_attribute_keys_data N/A N/A N/A project_data N/A project_owner project_owner N/A project_response_data N/A N/A project_uploader sync project_data N/A project_id N/A project_response_data N/A project_id N/A project_pk N/A project_response_data N/A id N/A N/A project_ids N/A project_pk project_id N/A project_attribute_data project_attributes_data N/A N/A N/A project_attribute_data N/A project project_pk N/A project_attribute_data N/A N/A project_attribute_uploader sync project_attribute_data N/A N/A consumption_metadata_data consumption_records_data N/A _get_consumption_data consumption_df N/A N/A project_id N/A N/A consumption_metadata_data pop project_id N/A N/A project_id project_ids N/A N/A N/A consumption_metadata_data N/A id N/A project_ids N/A project_id N/A N/A project_data N/A project_id project_owner project_id project_owner N/A project_response_data N/A N/A project_uploader sync project_data N/A N/A consumption_metadata_data N/A project N/A project_response_data N/A id N/A consumption_metadata_response_data N/A N/A consumption_metadata_uploader sync consumption_metadata_data N/A consumption_metadata_id N/A consumption_metadata_response_data N/A id N/A consumption_record_data consumption_records_data N/A N/A N/A consumption_record_data N/A metadata consumption_metadata_id N/A consumption_records_response_data N/A N/A consumption_record_uploader sync consumption_records_data N/A _dicts_to_dataframes N/A N/A project_dict consumption_dict N/A N/A N/A project_df N/A N/A pd DataFrame project_dict N/A consumption_df N/A N/A pd DataFrame consumption_dict N/A N/A project_df consumption_df N/A _csvs_to_dataframes N/A N/A project_csv consumption_csv N/A N/A N/A project_df N/A N/A pd read_csv project_csv N/A N/A project_df baseline_period_end N/A N/A pd to_datetime N/A project_df baseline_period_end N/A N/A project_df reporting_period_start N/A N/A pd to_datetime N/A project_df reporting_period_start N/A consumption_df N/A N/A pd read_csv consumption_csv N/A N/A consumption_df start N/A N/A pd to_datetime N/A consumption_df start N/A N/A consumption_df end N/A N/A pd to_datetime N/A consumption_df end N/A N/A project_df consumption_df N/A _get_project_attribute_keys_data N/A N/A project_df N/A N/A N/A project_attribute_keys_data N/A N/A column_name N/A project_df columns N/A N/A N/A column_name N/A constants STANDARD_PROJECT_DATA_COLUMN_NAMES N/A N/A N/A N/A column_name N/A constants STANDARD_PROJECT_ATTRIBUTE_KEYS N/A N/A project_attribute_key N/A N/A constants STANDARD_PROJECT_ATTRIBUTE_KEYS N/A column_name N/A project_attribute_key_data N/A name display_name data_type N/A project_attribute_key N/A name N/A project_attribute_key N/A display_name N/A project_attribute_key N/A data_type N/A N/A project_attribute_key_data N/A _infer_project_attribute_key_data column_name N/A project_df N/A column_name N/A N/A N/A project_attribute_keys_data append project_attribute_key_data N/A project_attribute_keys_data N/A _infer_project_attribute_key_data N/A N/A column_name column N/A N/A N/A project_attribute_key_data N/A name display_name data_type column_name N/A _infer_display_name column_name N/A _infer_data_type column N/A project_attribute_key_data N/A _infer_data_type N/A N/A column N/A N/A N/A N/A N/A N/A column shape N/A 0 0 N/A N/A None N/A N/A N/A column dtype float64 N/A N/A FLOAT N/A N/A N/A N/A column dtype int64 N/A N/A INTEGER N/A N/A N/A N/A column dtype bool N/A N/A BOOLEAN N/A N/A N/A N/A column dtype object N/A N/A N/A N/A N/A N/A pd to_datetime N/A column N/A 10 N/A N/A N/A ValueError N/A N/A CHAR N/A N/A N/A N/A N/A datetime strptime N/A column N/A 0 %Y-%m-%d N/A DATE N/A N/A N/A ValueError N/A N/A DATETIME N/A N/A None N/A _infer_display_name N/A N/A column_name N/A N/A N/A s1 N/A N/A re sub (.)([A-Z][a-z]+) \1_\2 column_name N/A underscored N/A N/A N/A N/A re sub ([a-z0-9])([A-Z]) \1_\2 s1 lower N/A display_name N/A N/A join N/A N/A N/A str capitalize w N/A w N/A N/A underscored split _ N/A display_name N/A _get_project_data N/A N/A project_df project_attribute_keys_data N/A N/A N/A N/A i row N/A N/A project_df iterrows N/A N/A project_data N/A project_id zipcode weather_station latitude longitude baseline_period_start baseline_period_end reporting_period_start reporting_period_end N/A row project_id N/A row zipcode N/A row weather_station N/A row latitude N/A row longitude None N/A N/A N/A N/A N/A pytz UTC localize N/A row baseline_period_end strftime %Y-%m-%dT%H:%M:%S%z N/A N/A N/A N/A N/A pytz UTC localize N/A row reporting_period_start strftime %Y-%m-%dT%H:%M:%S%z None N/A project_attributes_data N/A N/A project_attribute_key_data project_attribute_keys_data N/A N/A project_attribute_data N/A _get_project_attribute_data row project_attribute_key_data N/A N/A N/A project_attributes_data append project_attribute_data N/A N/A N/A project_data project_attributes_data N/A _get_project_attribute_data N/A N/A row project_attribute_key_data N/A N/A N/A name N/A project_attribute_key_data N/A name N/A data_type N/A project_attribute_key_data N/A data_type N/A project_attribute_data N/A key N/A project_attribute_key_data N/A id N/A N/A data_type BOOLEAN N/A N/A N/A project_attribute_data N/A boolean_value N/A N/A row N/A name True N/A N/A N/A data_type CHAR N/A N/A N/A project_attribute_data N/A char_value N/A row N/A name N/A N/A N/A data_type DATE N/A N/A N/A project_attribute_data N/A date_value N/A row N/A name N/A N/A N/A data_type DATETIME N/A N/A dt N/A N/A datetime strptime N/A row N/A name %Y-%m-%dT%H:%M:%S%z N/A N/A project_attribute_data N/A datetime_value N/A row N/A name N/A N/A N/A data_type FLOAT N/A N/A N/A project_attribute_data N/A float_value N/A float N/A row N/A name N/A N/A N/A data_type INTEGER N/A N/A N/A project_attribute_data N/A integer_value N/A int N/A row N/A name N/A N/A NotImplementedError N/A project_attribute_data N/A _get_consumption_data N/A N/A consumption_df N/A N/A N/A N/A project_id project_consumption N/A N/A consumption_df groupby project_id N/A N/A N/A fuel_type fuel_type_consumption N/A N/A project_consumption groupby fuel_type N/A N/A unique_unit_names N/A N/A N/A fuel_type_consumption unit_name unique N/A N/A N/A N/A unique_unit_names shape N/A 0 1 N/A consumption_metadata_data N/A project_id fuel_type energy_unit project_id N/A N/A constants FUEL_TYPES N/A fuel_type N/A N/A constants ENERGY_UNIT N/A N/A unique_unit_names N/A 0 N/A consumption_records_data N/A _get_consumption_records_data fuel_type_consumption N/A N/A N/A consumption_metadata_data consumption_records_data N/A _get_consumption_records_data N/A N/A consumption_df N/A N/A N/A raw_consumption_records_data N/A _get_raw_consumption_records_data consumption_df N/A consumption_records_data N/A _process_raw_consumption_records_data raw_consumption_records_data N/A consumption_records_data N/A _get_raw_consumption_records_data N/A N/A consumption_df N/A N/A N/A raw_consumption_records_data N/A N/A N/A i row N/A N/A consumption_df iterrows N/A N/A consumption_record_data N/A start end value estimated N/A row start N/A row end N/A row value N/A row estimated N/A N/A N/A raw_consumption_records_data append consumption_record_data N/A raw_consumption_records_data N/A _process_raw_consumption_records_data N/A N/A records N/A N/A N/A N/A fuel_type unit_name N/A electricity kWh N/A consumption_data N/A ConsumptionData records fuel_type unit_name record_type arbitrary N/A consumption_records_data N/A N/A N/A N/A d1 value N/A d2 estimated N/A zip N/A N/A N/A consumption_data data iteritems N/A N/A N/A consumption_data estimated iteritems N/A N/A N/A d1 d2 N/A record N/A start value estimated N/A N/A N/A N/A N/A pytz UTC localize N/A N/A d1 to_datetime strftime %Y-%m-%dT%H:%M:%S%z value N/A bool estimated N/A N/A N/A consumption_records_data append record N/A consumption_records_data N/A