1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
==============
Remove columns
==============
Include specific columns
=========================
Create a new table with only a specific set of columns:
.. code-block:: python
include_columns = ['column_name_one', 'column_name_two']
new_table = table.select(include_columns)
Exclude specific columns
========================
Create a new table without a specific set of columns:
.. code-block:: python
exclude_columns = ['column_name_one', 'column_name_two']
new_table = table.exclude(exclude_columns)
|