Skip to content

Commit

Permalink
[Doc] Fix feature store demo (#855)
Browse files Browse the repository at this point in the history
  • Loading branch information
dinal committed Apr 9, 2021
1 parent c692d43 commit 91f5a82
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/store/feature-store-demo.ipynb
Expand Up @@ -1804,8 +1804,8 @@
" \"stocks.*\",\n",
"]\n",
"\n",
"resp = fs.get_offline_features(features, entity_rows=trades, entity_timestamp_column=\"time\")\n",
"resp.to_dataframe()"
"vector = fs.FeatureVector(\"stocks-vec\", features, description=\"stocks demo feature vector\")\n",
"vector.save()"
]
},
{
Expand All @@ -1814,8 +1814,8 @@
"metadata": {},
"outputs": [],
"source": [
"vector = fs.FeatureVector(\"stocks-vec\", features, description=\"stocks demo feature vector\")\n",
"vector.save()"
"resp = fs.get_offline_features(vector, entity_rows=trades, entity_timestamp_column=\"time\")\n",
"resp.to_dataframe()"
]
},
{
Expand Down

0 comments on commit 91f5a82

Please sign in to comment.