Advertisement
Guest User

Untitled

a guest
Jun 18th, 2018
436
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.51 KB | None | 0 0
  1. 1
  2. 2
  3. * Serving Flask app "test" (lazy loading)
  4. * Environment: production
  5. WARNING: Do not use the development server in a production environment.
  6. Use a production WSGI server instead.
  7. * Debug mode: off
  8. * Running on http://127.0.0.1:8001/ (Press CTRL+C to quit)
  9. Hello World
  10. 127.0.0.1 - - [18/Jun/2018 20:00:45] "GET / HTTP/1.1" 200 -
  11. /usr/local/lib/python2.7/site-packages/pandas/core/computation/expressions.py:65: FutureWarning: Floor division between integer array and Timedelta is
  12. deprecated. Use 'array // timedelta.value' instead.
  13. If you want to obtain epochs from an array of timestamps,
  14. you can rather use
  15. 'array - pd.Timestamp("1970-01-01")) // pd.Timedelta("1s")'.
  16.  
  17. return op(a, b)
  18. Exception in thread Thread-2:
  19. Traceback (most recent call last):
  20. 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
  21. self.run()
  22. File "/usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 754, in run
  23. self.__target(*self.__args, **self.__kwargs)
  24. File "amrith_code.py", line 103, in do_work
  25. df6 = df6.append(process_file(df).compute())
  26. File "amrith_code.py", line 75, in process_file
  27. df2.day_date = df2.day_date.dt.date
  28. File "/usr/local/lib/python2.7/site-packages/dask/dataframe/core.py", line 2433, in __getattr__
  29. raise AttributeError("'DataFrame' object has no attribute %r" % key)
  30. AttributeError: 'DataFrame' object has no attribute 'day_date'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement