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):
_parse_one_folder(f, child_outfile, quiet) for f in non_hidden _parse_one_folder(f, child_outfile, quiet) for f in non_hidden
) )
try: try:
collected_data = pandas.concat( collected = pandas.concat(collection, ignore_index=True)
collection, ignore_index=True _output(collected.reset_index(), source_path, outfile)
).reset_index()
_output(collected_data, source_path, outfile)
except ValueError as e: except ValueError as e:
print(str(e)) print(str(e))

Loading…
Cancel
Save