Skip to content
Snippets Groups Projects
Commit 658b3b02 authored by Sascha Herzinger's avatar Sascha Herzinger
Browse files

Fixing flake8 complaints

parent 9ba698a7
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -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']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment