Selector documentation

  • Created on: 16.07.2019
  • Author: Ayoub Malek
class src.Selector.Selector(args, data)[source]

Bases: object

Select data rows based on parsed arguments.

args

dict – dictionray of command arguments.

data

pandas.DataFrame – loaded data from csv.

get_avg()[source]

Get and print the average value of the selected data.

get_cnt()[source]

Get and print count of selected data rows.

get_max()[source]

Get and print the maximum value of the selected data.

get_min()[source]

Get and print the minimum value of the selected data.

select_data()[source]

Select data rows based on user commnd arguments.