CustomerData Class

Defines the base class of customer data.

Initialize with customer data frame.

Inheritance
builtins.object
CustomerData

Constructor

CustomerData(_data)

Parameters

Name Description
_data
Required

A data frame.

Methods

add_row_id

Add row ID to customer data, in order to distinguish after join.

row_id_col_name

Get row ID column name.

add_row_id

Add row ID to customer data, in order to distinguish after join.

add_row_id(env: RuntimeEnv)

Parameters

Name Description
env
Required

row_id_col_name

Get row ID column name.

static row_id_col_name() -> str

Returns

Type Description

The row ID column name.

Attributes

data

Get dataframe.

to_be_cleaned_up_column_names

Get column names to be cleaned up.

Returns

Type Description

A list of columns to be cleaned up.