The drop method completely removes the table from the database, including its definition. It also removes all dependent tables, recursively. DataJoint will first display the tables being dropped and the number of tuples in each before prompting the user to proceed.

The drop method is often used during the initial design to allow altered table definitions to take effect.

matlab Matlab

% drop the Person table from the lab schema

python Python

# drop the Person table from its schema