PostgresOSM.drop_table

PostgresOSM.drop_table(table_name, schema_name='public', confirmation_required=True, verbose=False)

Remove a table from the database being connected.

Parameters
  • table_name (str) – name of a table

  • schema_name (str) – name of a schema, defaults to 'public'

  • confirmation_required (bool) – whether to prompt a message for confirmation to proceed, defaults to True

  • verbose (bool or int) – whether to print relevant information in console as the function runs, defaults to False

See the example for the method .create_table().