Commit 658b3b02 authored by Sascha Herzinger's avatar Sascha Herzinger
Browse files

Fixing flake8 complaints

parent 9ba698a7
......@@ -30,7 +30,8 @@ class CategoricalETL(ETL):
result_id=result_id, server=server, token=token)
return raw_data
def transform(self, raw_data: List[dict], descriptor: dict) -> pd.DataFrame:
def transform(self, raw_data: List[dict],
descriptor: dict) -> pd.DataFrame:
df = pd.read_csv(StringIO(raw_data))
feature = df.columns[1]
df.columns = ['id', 'value']
......
......@@ -30,7 +30,8 @@ class NumericalETL(ETL):
result_id=result_id, server=server, token=token)
return raw_data
def transform(self, raw_data: List[dict], descriptor: dict) -> pd.DataFrame:
def transform(self, raw_data: List[dict],
descriptor: dict) -> pd.DataFrame:
df = pd.read_csv(StringIO(raw_data))
feature = df.columns[1]
df.columns = ['id', 'value']
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment