// we"ve had weird problem with pandas read-only errors
out_vals = copy.deepcopy(out_vals)
// no duplicates or NaN values
return pd.Series(out_vals).drop_duplicates().dropna()
def _filter_and_sort(self, df, time_last=None,
training_window=None,
columns=None):
After Change
out_vals = pd.Series(instance_vals)
// no duplicates or NaN values
out_vals = out_vals.drop_duplicates().dropna()
// want index to have no name for the merge in query_by_values
out_vals.index.name = None
return out_vals
def _handle_time(self, df, time_last=None,
training_window=None,
columns=None):