EvaluateExpressions

People have two feet. Say you want to estimate how many steps one of those feet took per day:

from eureqa import Eureqa
eureqa = Eureqa(url='http://localhost:10002', user_name='root', password='Changeme1')
data_source = eureqa.create_data_source('Sample_data_2', 'sample.csv')

eureqa.evaluate_expression(data_source, ["Date", "Steps / 2"])

Some days you forgot to attach your pedometer. You just want to ignore those days.

from eureqa.variable_options import VariableOptions
from eureqa import missing_value_policies
eureqa.evaluate_expression(data_source, ["Date", "Steps / 2"],
                           variable_options=[
        VariableOptions("Steps",
                        missing_value_policy=missing_value_policies.ignore_row)])