Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Tathagatd96/5881063fe3a6cb6b731c87849483e209 to your computer and use it in GitHub Desktop.
Save Tathagatd96/5881063fe3a6cb6b731c87849483e209 to your computer and use it in GitHub Desktop.
#Creating Feature Columns
feat_cols=[]
for cols in df.columns[:-1]:
column=tf.feature_column.numeric_column(cols)
feat_cols.append(column)
print(feat_cols)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment