Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- File "<ipython-input-2-2ac5c231843b>", line 1, in <module>
- runfile('C:/Python/cig_dbbuilding/upload_results.py', wdir='C:/Python/cig_dbbuilding')
- File "C:\Users\micha\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 827, in runfile
- execfile(filename, namespace)
- File "C:\Users\micha\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 110, in execfile
- exec(compile(f.read(), filename, 'exec'), namespace)
- File "C:/Python/cig_dbbuilding/upload_results.py", line 591, in <module>
- uploader.upload(folder_path="D:/Work/Brisnet-Data/data")
- File "C:/Python/cig_dbbuilding/upload_results.py", line 574, in upload
- self.upload_dot_four(f, db_name=self.database_name)
- File "C:/Python/cig_dbbuilding/upload_results.py", line 413, in upload_dot_four
- lambda race: (
- File "C:\Users\micha\Anaconda3\lib\site-packages\pandas\core\groupby\groupby.py", line 737, in apply
- return self._python_apply_general(f)
- File "C:\Users\micha\Anaconda3\lib\site-packages\pandas\core\groupby\groupby.py", line 742, in _python_apply_general
- keys, values, mutated = self.grouper.apply(f, self._selected_obj, self.axis)
- File "C:\Users\micha\Anaconda3\lib\site-packages\pandas\core\groupby\ops.py", line 237, in apply
- res = f(group)
- File "C:/Python/cig_dbbuilding/upload_results.py", line 418, in <lambda>
- .to_dict(orient="index")
- File "C:\Users\micha\Anaconda3\lib\site-packages\pandas\core\frame.py", line 1376, in to_dict
- raise ValueError("DataFrame index must be unique for orient='index'.")
- ValueError: DataFrame index must be unique for orient='index'.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement