为什么以下命令为我提供了以下内容。为什么日期在" 1396224000000000000"
import pandas as pd
h5 = pd.HDFStore('./vstoxx_data_31032014.h5', 'r')
futures_data = h5['futures_data'] # VSTOXX futures data
options_data = h5['options_data'] # VSTOXX call option data
h5.close()
futures_data的内容是
Date EXP_YEAR EXP_MONTH PRICE MATURITY TTM
496 1396224000000000000 2014 4 17.85 13977792000000000000 0.094
(followed by more similar rows)
答案 0 :(得分:0)
futures_data['DATE'] = pd.to_datetime(futures_data.DATE)