Converting from Pandas dataframe to TensorFlow tensor object

后端 未结 6 529
灰色年华
灰色年华 2020-12-31 02:48

I\'m still new to Python, Machine Learning and TensorFlow, but doing my best to jump right in head-first. I could use some help though.

My data is currently in a Pan

6条回答
  •  臣服心动
    2020-12-31 03:22

    hottbox.pdtools.utils (the Pandas integration tools of the HOTTBOX API) provides the functions

       pd_to_tensor(df[, keep_index])
       tensor_to_pd(tensor[, col_name])
    

    for conversion in both directions.

提交回复
热议问题