Advertisement
MichaelRomeroJr1

Untitled

Apr 9th, 2020
274
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.51 KB | None | 0 0
  1.  
  2.   File "<ipython-input-1-2ac5c231843b>", line 1, in <module>
  3.     runfile('C:/Python/cig_dbbuilding/upload_results.py', wdir='C:/Python/cig_dbbuilding')
  4.  
  5.   File "C:\Users\micha\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 827, in runfile
  6.     execfile(filename, namespace)
  7.  
  8.   File "C:\Users\micha\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 110, in execfile
  9.     exec(compile(f.read(), filename, 'exec'), namespace)
  10.  
  11.   File "C:/Python/cig_dbbuilding/upload_results.py", line 630, in <module>
  12.     uploader.upload_in_directory()
  13.  
  14.   File "C:/Python/cig_dbbuilding/upload_results.py", line 594, in upload_in_directory
  15.     self.upload_dot_six(f, db_name=self.database_name)
  16.  
  17.   File "C:/Python/cig_dbbuilding/upload_results.py", line 527, in upload_dot_six
  18.     .apply(" ".join)
  19.  
  20.   File "C:\Users\micha\Anaconda3\lib\site-packages\pandas\core\groupby\generic.py", line 815, in apply
  21.     return super().apply(func, *args, **kwargs)
  22.  
  23.   File "C:\Users\micha\Anaconda3\lib\site-packages\pandas\core\groupby\groupby.py", line 737, in apply
  24.     return self._python_apply_general(f)
  25.  
  26.   File "C:\Users\micha\Anaconda3\lib\site-packages\pandas\core\groupby\groupby.py", line 742, in _python_apply_general
  27.     keys, values, mutated = self.grouper.apply(f, self._selected_obj, self.axis)
  28.  
  29.   File "C:\Users\micha\Anaconda3\lib\site-packages\pandas\core\groupby\ops.py", line 237, in apply
  30.     res = f(group)
  31.  
  32. TypeError: sequence item 13: expected str instance, float found
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement