ecosystem icon indicating copy to clipboard operation
ecosystem copied to clipboard

doesn't keep the columns order when write with "tfrecords" format from existence Dataframe

Open u650080 opened this issue 7 years ago • 1 comments

Hi , I have an existence hdfs file in parquet format. When I write this dataframe in "tfrecords" format and later I read this new file( in "tfrecords" format) , the order of columns are changed and it didn't keep same order as parquet format .

u650080 avatar Jan 15 '19 21:01 u650080

Yeah I also faced the same issue. If you are using the data for training in tensorflow, you can use tf.feature_column to map column names to specific input nodes. But beware of the issue mentioned here

Wasnt aware that this issue was there since 2016. I wont expect it to be solved then

nareshr8 avatar Dec 09 '19 10:12 nareshr8