Advertisement
Guest User

Untitled

a guest
Jun 18th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.21 KB | None | 0 0
  1. day_date cabinet_name ... epoch_time sum_pwr
  2. 0 2017-01-01 US.PRZ.03.01.2200.03.001 ... 1483228800 2.3368
  3. 1 2017-01-01 US.PRZ.03.01.2200.03.002 ... 1483228800 4.6188
  4. 2 2017-01-01 US.PRZ.03.01.2200.03.003 ... 1483228800 2.2688
  5. 3 2017-01-01 US.PRZ.03.01.2200.03.004 ... 1483228800 2.1966
  6. 4 2017-01-01 US.PRZ.03.01.2200.03.005 ... 1483228800 2.2108
  7.  
  8. [5 rows x 5 columns]
  9. [#################################### ] | 92% Completed | 0.4s
  10. Exception in thread Thread-2:
  11. Traceback (most recent call last):
  12. File "/usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 801, in __bootstrap_inner
  13. self.run()
  14. File "/usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 754, in run
  15. self.__target(*self.__args, **self.__kwargs)
  16. File "amrith_code.py", line 103, in do_work
  17. df6 = df6.append(process_file(df).compute())
  18. File "amrith_code.py", line 78, in process_file
  19. print (df3.head())
  20. File "/usr/local/lib/python2.7/site-packages/dask/dataframe/core.py", line 908, in head
  21. result = result.compute()
  22. File "/usr/local/lib/python2.7/site-packages/dask/base.py", line 156, in compute
  23. (result,) = compute(self, traverse=False, **kwargs)
  24. File "/usr/local/lib/python2.7/site-packages/dask/base.py", line 400, in compute
  25. results = schedule(dsk, keys, **kwargs)
  26. File "/usr/local/lib/python2.7/site-packages/dask/threaded.py", line 75, in get
  27. pack_exception=pack_exception, **kwargs)
  28. File "/usr/local/lib/python2.7/site-packages/dask/local.py", line 521, in get_async
  29. raise_exception(exc, tb)
  30. File "/usr/local/lib/python2.7/site-packages/dask/local.py", line 290, in execute_task
  31. result = _execute_task(task, data)
  32. File "/usr/local/lib/python2.7/site-packages/dask/local.py", line 271, in _execute_task
  33. return func(*args2)
  34. File "/usr/local/lib/python2.7/site-packages/dask/dataframe/core.py", line 3558, in apply_and_enforce
  35. raise ValueError("The columns in the computed data do not match"
  36. ValueError: The columns in the computed data do not match the columns in the provided metadata
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement