column_module

home > kero > Documentation

This object is a modification to list, so that it represents a single column in a table. It is built with the intention of managing column transformation for pre-processing.

kero.DataHandler.DataTransform.py 

class column_module:
  def __init__(self):
    self.col_name
    self.col_list
    self.col_list_conj
    return
  def get_list(self, col_list, col_name):
    return
  def get_list_from_df(self,df,index):
    return
  def set_conj_discrete_to_bool(self,drop_one_column=False):
    return
  def set_conj_cont_to_scale(self, scale=None, original_scale=None, mode="uniform"):
    return
  def set_conj_discrete_to_int(self, rule=None):
    return

 

Properties Description
col_name List of strings. List of column names.
col_list List. It represents a column.
col_list_conj Dictionary. The conjugated form of the column is stored as a dictionary whose key stores the new column name(s).

kero version: 0.1 and above