Table Functions and Methods
Name
Chapter
Description
Table
5
Create an empty table, usually to extend with data
Table.read_table
5
Create a table from a data file
with_columns
5
Create a copy of a table with more columns
column
5
Create an array containing the elements of a column
num_rows
5
Compute the number of rows in a table
num_columns
5
Compute the number of columns in a table
labels
5
Lists the column labels in a table
select
5
Create a copy of a table with only some of the columns
drop
5
Create a copy of a table without some of the columns
relabel
5
Modifies the existing table in place, changing the column heading in the first argument to the second
relabeled
5
Returns a new table with the column heading in the first argument changed to the second
sort
5.2
Create a copy of a table sorted by the values in a column. Defaults to ascending order unless "descending = True" is included
where
5.3
Create a copy of a table with only the rows that match some predicate
take
5.3
Create a copy of the table with only the rows whose indices are in the given array
barh
6.1
Draws a bar chart of the frequencies of a categorical distribution