result = pd.read_csv('out.csv')
result.head()
複製代碼
/anaconda3/envs/py35/lib/python3.5/site-packages/IPython/core/interactiveshell.py:2728: DtypeWarning: Columns (3,4,5,6,7,8,10) have mixed types. Specify dtype option on import or set low_memory=False.
interactivity=interactivity, compiler=compiler, result=result)
複製代碼
Unnamed: 0
uploadtime
data
version
datatype
h
l
ns
s
serialNumber
t
0
0.0
2018-05-22T03:07:51.263Z
{'serialNumber': '"S1DL11XHSHS1"', 't': '25.08...
2
True
59
18
2
62
"S1DL11XHSHS1"
25.0893
1
1.0
2018-05-22T03:07:52.008Z
{'serialNumber': '"S1F311DQSHS1"', 't': '26.40...
2
True
50
4
1
61
"S1F311DQSHS1"
26.4033
2
2.0
2018-05-22T03:07:52.059Z
{'serialNumber': '"S1DF11MFSHS1"', 't': '17.17...
2
True
70
16
0
67
"S1DF11MFSHS1"
17.1742
3
3.0
2018-05-22T03:07:52.350Z
{'serialNumber': '"S1FD13XGSHS1"', 't': '21.24...
2
True
64
0
1
65
"S1FD13XGSHS1"
21.2446
4
4.0
2018-05-22T03:07:54.643Z
{'serialNumber': '"S1DL11W4SHS1"', 't': '27.28...
2
True
45
0
1
60
"S1DL11W4SHS1"
27.2828
result = result.drop(result.columns[0], axis = 1)
複製代碼
/anaconda3/envs/py35/lib/python3.5/importlib/_bootstrap.py:222: RuntimeWarning: compiletime version 3.6 of module 'tensorflow.python.framework.fast_tensor_util' does not match runtime version 3.5
return f(*args, **kwds)
/anaconda3/envs/py35/lib/python3.5/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
from ._conv import register_converters as _register_converters
複製代碼
x = tf.placeholder("float", shape=[None, 4])
y = tf.placeholder("float", shape=[None, 4])
複製代碼