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