Loading...

TableSample#

Base Class#

TableSample([values, dtype, count, offset, ...])

TableSample sits at the transition from 'Big Data' to 'Small Data'.

Methods:

append(tbs)

Appends the input TableSample to a target TableSample.

category(column)

Returns the category of data in a specified TableSample column.

decimal_to_float()

Converts all the TableSample decimals to floats.

get_columns()

Returns the TableSample columns.

merge(tbs)

Merges the input TableSample to a target TableSample.

narrow([use_number_as_category])

Returns the narrow representation of the TableSample.

read_sql(query[, title, max_columns, ...])

Returns the result of a SQL query as a TableSample object.

shape()

Computes the TableSample shape.

sort(column[, desc])

Sorts the TableSample using the input column.

transpose()

Transposes the TableSample.

to_list()

Converts the TableSample to a list.

to_numpy()

Converts the TableSample to a Numpy array.

to_pandas()

Converts the TableSample to a pandas.DataFrame.

to_sql()

Generates the SQL query associated to the TableSample.

to_vdf()

Converts the TableSample to a vDataFrame.