Skip to content
Snippets Groups Projects
Commit 2911b167 authored by Hervé  MENAGER's avatar Hervé MENAGER
Browse files

drop N/A rows from input dataframes

parent 3c6af9a6
No related branches found
No related tags found
No related merge requests found
...@@ -152,7 +152,7 @@ class DataFrameImportTask(ImportTask): ...@@ -152,7 +152,7 @@ class DataFrameImportTask(ImportTask):
dataframe = None dataframe = None
def open_data_source(self): def open_data_source(self):
self.rows = (row for idx, row in self.dataframe.iterrows()) self.rows = (row for idx, row in self.dataframe.dropna(how='all').iterrows())
def count_source(self): def count_source(self):
self.source_count = self.dataframe.shape[0] self.source_count = self.dataframe.shape[0]
......
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