Browse Source

cosmetic changes

xmlparsing
Holger Frey 3 years ago
parent
commit
4fbb6410b3
  1. 6
      sensospot_data/__init__.py

6
sensospot_data/__init__.py

@ -92,9 +92,7 @@ def _parse_recursive(source, outfile, quiet): @@ -92,9 +92,7 @@ def _parse_recursive(source, outfile, quiet):
_parse_one_folder(f, child_outfile, quiet) for f in non_hidden
)
try:
collected_data = pandas.concat(
collection, ignore_index=True
).reset_index()
_output(collected_data, source_path, outfile)
collected = pandas.concat(collection, ignore_index=True)
_output(collected.reset_index(), source_path, outfile)
except ValueError as e:
print(str(e))

Loading…
Cancel
Save