Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
Table.from_csv = from_csv
Table.from_fixed = from_fixed
Table.from_json = from_json
Table.from_object = from_object
Table.group_by = group_by
Table.homogenize = homogenize
Table.join = join
Table.merge = merge
Table.normalize = normalize
Table.pivot = pivot
Table.print_bars = print_bars
Table.print_html = print_html
Table.print_structure = print_structure
Table.print_table = print_table
Table.to_csv = to_csv
Table.to_json = to_json
Table.denormalize = denormalize
Table.from_csv = from_csv
Table.from_fixed = from_fixed
Table.from_json = from_json
Table.from_object = from_object
Table.group_by = group_by
Table.homogenize = homogenize
Table.join = join
Table.merge = merge
Table.normalize = normalize
Table.pivot = pivot
Table.print_bars = print_bars
Table.print_html = print_html
Table.print_structure = print_structure
Table.print_table = print_table
Table.to_csv = to_csv
Table.to_json = to_json
:param row_names:
New row names for the renamed table. May be either an array or
a dictionary mapping existing row names to new names. If not
specified, will use this table's existing row names.
"""
if isinstance(column_names, dict):
column_names = [column_names[name] if name in column_names else name for name in self.column_names]
if isinstance(row_names, dict):
row_names = [row_names[name] if name in row_names else name for name in self.row_names]
if column_names is not None and column_names != self.column_names:
if row_names is None:
row_names = self._row_names
return Table(self.rows, column_names, self.column_types, row_names=row_names, _is_fork=False)
else:
return self._fork(self.rows, column_names, self._column_types, row_names=row_names)
Table.aggregate = aggregate
Table.bins = bins
Table.compute = compute
Table.denormalize = denormalize
Table.from_csv = from_csv
Table.from_fixed = from_fixed
Table.from_json = from_json
Table.from_object = from_object
Table.group_by = group_by
Table.homogenize = homogenize
Table.join = join
Table.merge = merge
Table.normalize = normalize
Table.pivot = pivot
Table.print_bars = print_bars
Table.print_html = print_html
Table.print_structure = print_structure
Table.print_table = print_table
Table.to_csv = to_csv
Table.to_json = to_json
from agate.table.print_table import print_table
from agate.table.to_csv import to_csv
from agate.table.to_json import to_json
Table.aggregate = aggregate
Table.bins = bins
Table.compute = compute
Table.denormalize = denormalize
Table.from_csv = from_csv
Table.from_fixed = from_fixed
Table.from_json = from_json
Table.from_object = from_object
Table.group_by = group_by
Table.homogenize = homogenize
Table.join = join
Table.merge = merge
Table.normalize = normalize
Table.pivot = pivot
Table.print_bars = print_bars
Table.print_html = print_html
Table.print_structure = print_structure
Table.print_table = print_table
Table.to_csv = to_csv
Table.to_json = to_json
from agate.table.merge import merge
from agate.table.normalize import normalize
from agate.table.pivot import pivot
from agate.table.print_bars import print_bars
from agate.table.print_html import print_html
from agate.table.print_structure import print_structure
from agate.table.print_table import print_table
from agate.table.to_csv import to_csv
from agate.table.to_json import to_json
Table.aggregate = aggregate
Table.bins = bins
Table.compute = compute
Table.denormalize = denormalize
Table.from_csv = from_csv
Table.from_fixed = from_fixed
Table.from_json = from_json
Table.from_object = from_object
Table.group_by = group_by
Table.homogenize = homogenize
Table.join = join
Table.merge = merge
Table.normalize = normalize
Table.pivot = pivot
Table.print_bars = print_bars
Table.print_html = print_html
Table.print_structure = print_structure
Table.print_table = print_table
Table.to_csv = to_csv
Table.to_json = to_json
from agate.table.join import join
from agate.table.merge import merge
from agate.table.normalize import normalize
from agate.table.pivot import pivot
from agate.table.print_bars import print_bars
from agate.table.print_html import print_html
from agate.table.print_structure import print_structure
from agate.table.print_table import print_table
from agate.table.to_csv import to_csv
from agate.table.to_json import to_json
Table.aggregate = aggregate
Table.bins = bins
Table.compute = compute
Table.denormalize = denormalize
Table.from_csv = from_csv
Table.from_fixed = from_fixed
Table.from_json = from_json
Table.from_object = from_object
Table.group_by = group_by
Table.homogenize = homogenize
Table.join = join
Table.merge = merge
Table.normalize = normalize
Table.pivot = pivot
Table.print_bars = print_bars
Table.print_html = print_html
Table.print_structure = print_structure
Table.print_table = print_table
Table.to_csv = to_csv
Table.to_json = to_json
from agate.table.print_structure import print_structure
from agate.table.print_table import print_table
from agate.table.to_csv import to_csv
from agate.table.to_json import to_json
Table.aggregate = aggregate
Table.bins = bins
Table.compute = compute
Table.denormalize = denormalize
Table.from_csv = from_csv
Table.from_fixed = from_fixed
Table.from_json = from_json
Table.from_object = from_object
Table.group_by = group_by
Table.homogenize = homogenize
Table.join = join
Table.merge = merge
Table.normalize = normalize
Table.pivot = pivot
Table.print_bars = print_bars
Table.print_html = print_html
Table.print_structure = print_structure
Table.print_table = print_table
Table.to_csv = to_csv
Table.to_json = to_json
from agate.table.from_json import from_json
from agate.table.from_object import from_object
from agate.table.group_by import group_by
from agate.table.homogenize import homogenize
from agate.table.join import join
from agate.table.merge import merge
from agate.table.normalize import normalize
from agate.table.pivot import pivot
from agate.table.print_bars import print_bars
from agate.table.print_html import print_html
from agate.table.print_structure import print_structure
from agate.table.print_table import print_table
from agate.table.to_csv import to_csv
from agate.table.to_json import to_json
Table.aggregate = aggregate
Table.bins = bins
Table.compute = compute
Table.denormalize = denormalize
Table.from_csv = from_csv
Table.from_fixed = from_fixed
Table.from_json = from_json
Table.from_object = from_object
Table.group_by = group_by
Table.homogenize = homogenize
Table.join = join
Table.merge = merge
Table.normalize = normalize
Table.pivot = pivot
Table.print_bars = print_bars
Table.print_html = print_html
Table.print_structure = print_structure
Row names for the forked table. If not specified, fork will use
this table's row names.
"""
if columns is None:
columns = self._columns
if column_names is None:
column_names = self._column_names
if column_types is None:
column_types = self._column_types
if row_names is None:
row_names = self._row_names
return Table(columns, column_names, column_types, row_names=row_names, _is_fork=True)