Advertisement
MichaelRomeroJr1

Traceback 4/10/20

Apr 10th, 2020
323
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.65 KB | None | 0 0
  1.   File "<ipython-input-2-2ac5c231843b>", line 1, in <module>
  2.     runfile('C:/Python/cig_dbbuilding/upload_results.py', wdir='C:/Python/cig_dbbuilding')
  3.  
  4.   File "C:\Users\micha\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 827, in runfile
  5.     execfile(filename, namespace)
  6.  
  7.   File "C:\Users\micha\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 110, in execfile
  8.     exec(compile(f.read(), filename, 'exec'), namespace)
  9.  
  10.   File "C:/Python/cig_dbbuilding/upload_results.py", line 591, in <module>
  11.     uploader.upload(folder_path="D:/Work/Brisnet-Data/data")
  12.  
  13.   File "C:/Python/cig_dbbuilding/upload_results.py", line 574, in upload
  14.     self.upload_dot_four(f, db_name=self.database_name)
  15.  
  16.   File "C:/Python/cig_dbbuilding/upload_results.py", line 413, in upload_dot_four
  17.     lambda race: (
  18.  
  19.   File "C:\Users\micha\Anaconda3\lib\site-packages\pandas\core\groupby\groupby.py", line 737, in apply
  20.     return self._python_apply_general(f)
  21.  
  22.   File "C:\Users\micha\Anaconda3\lib\site-packages\pandas\core\groupby\groupby.py", line 742, in _python_apply_general
  23.     keys, values, mutated = self.grouper.apply(f, self._selected_obj, self.axis)
  24.  
  25.   File "C:\Users\micha\Anaconda3\lib\site-packages\pandas\core\groupby\ops.py", line 237, in apply
  26.     res = f(group)
  27.  
  28.   File "C:/Python/cig_dbbuilding/upload_results.py", line 418, in <lambda>
  29.     .to_dict(orient="index")
  30.  
  31.   File "C:\Users\micha\Anaconda3\lib\site-packages\pandas\core\frame.py", line 1376, in to_dict
  32.     raise ValueError("DataFrame index must be unique for orient='index'.")
  33.  
  34. ValueError: DataFrame index must be unique for orient='index'.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement