SHARE
TWEET

Untitled

a guest Feb 21st, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. np.array(result, dtype=my_dtype) =
  2. array([ (datetime.datetime(2012, 9, 9, 0, 0), datetime.datetime(2012, 9, 8, 15, 10)),
  3. dtype=[('Date', ('<M8[us]', {})), ('Forecasting', ('<M8[us]', {})),
  4.    
  5. test = pandas.DataFrame(np.array(result, dtype=my_dtype))
  6. test['Date'] =
  7. 1970-01-16 14:12:28.800000
  8.    
  9. test['Forecasting'] =
  10. 1970-01-16 14:11:57
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top