Data processing
Closed this issue · 2 comments
Arezoo-bz commented
Is there any way to update an orca table, not just a column?
Some critical steps in model making process such as data preprocessing, data transformation and feature engineering would be hard (inefficient) if the only way to update an orca table is by updating a single column.
smmaurer commented
Yes! I think the way I've seen this done is to re-register the dataframe with Orca, which replaces whatever was previously registered under that name. Something like this:
df = orca.get_table('street_trees').to_frame()
# make changes to the dataframe
orca.add_table('street_trees', df)
Here's the full Orca API reference: http://udst.github.io/orca/core.html#api
Arezoo-bz commented
Thank you!