Commit c83487d0 authored by Nicolas Garcia Ospina's avatar Nicolas Garcia Ospina
Browse files

Fixed dataframe creation to drop possible duplicates

parent 2e2b0d36
Pipeline #24611 failed with stage
in 4 minutes and 20 seconds
...@@ -66,6 +66,7 @@ class FileProcessor: ...@@ -66,6 +66,7 @@ class FileProcessor:
""" """
tiles_df = pandas.DataFrame(list_of_dictionaries) tiles_df = pandas.DataFrame(list_of_dictionaries)
tiles_df = tiles_df.drop_duplicates(keep='first')
filepath_out = os.path.join( filepath_out = os.path.join(
output_pathname, output_pathname,
"OBM_{}_{}.csv".format(tiles_df.quadkey.iloc[0], len(tiles_df.index)), "OBM_{}_{}.csv".format(tiles_df.quadkey.iloc[0], len(tiles_df.index)),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment