Files
finos--perspective/docs/md/explanation/table/clear_and_replace.md
T
2026-07-13 12:23:53 +08:00

455 B

Table::clear and Table::replace

Calling Table::clear will remove all data from the underlying Table. Calling Table::replace with new data will clear the Table, and update it with a new dataset that conforms to Perspective's data types and the existing schema on the Table.

table.clear();
table.replace(json);
table.clear()
table.replace(df)