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

correct counting rows in source dataframe

parent 4468243f
No related branches found
No related tags found
No related merge requests found
......@@ -152,6 +152,9 @@ class DataFrameImportTask(ImportTask):
def open_data_source(self):
self.rows = self.dataframe.iterrows()
def count_source(self):
self.source_count = self.dataframe.shape[0]
class ImportCommand(BaseCommand):
help = "Generic command to import data into a django database"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment