将数据转换为NP数组的字典

时间:2019-05-21 19:54:50

标签: python pandas numpy tensorflow

我是Python的新手,并且正在使用它来进入TensorFlow,有人可以帮我打破这条线吗?我的Google-fu使我失望。

ipynb located here

感谢您的帮助!

#Convert pandas data into a dict of np arrays.
features = {key:np.array(value) for key,value in dict(features).items()}

0 个答案:

没有答案
相关问题