Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(13)  |  Call(0)  |  Derive(6)  |  Import(7)

src/v/i/VisTrails-HEAD/vistrails/packages/tabledata/operations.py   VisTrails(Download)
from vistrails.core.modules.vistrails_module import ModuleError
 
from .common import TableObject, Table, choose_column, choose_columns
 
# FIXME use pandas?
class JoinTables(Table):
    """Joins data from two tables using equality of a pair of columns.
 
    This creates a table by combining the fields from the two tables. It will
    match the values in the two selected columns (one from each table). If a
class ProjectTable(Table):
    """Build a table from the columns of another table.
 
    This allows you to restrict, reorder or rename the columns of a table. You
    can also duplicate columns by mentioning them several times.
class SelectFromTable(Table):
    """Builds a table from the rows of another table.
 
    This allows you to filter the records in a table according to a condition
    on a specific field.

src/v/i/VisTrails-HEAD/vistrails/packages/tabledata/read/read_json.py   VisTrails(Download)
from vistrails.core.modules.vistrails_module import ModuleError
 
from ..common import TableObject, Table, InternalModuleError
 
 
class JSONTable(Table):

src/v/i/VisTrails-HEAD/vistrails/packages/tabledata/read/read_csv.py   VisTrails(Download)
    numpy = None
 
from ..common import TableObject, Table, InternalModuleError
 
 
class CSVFile(Table):
    """Reads a table from a CSV file.
 
    This module uses Python's csv module to read a table from a file. It is
    able to guess the actual format of the file in most cases, or you can use

src/v/i/VisTrails-HEAD/vistrails/packages/tabledata/read/read_excel.py   VisTrails(Download)
from vistrails.packages.tabledata.common import TableObject
 
from ..common import Table
 
 
class ExcelSpreadsheet(Table):
    """Reads a table from a Microsoft Excel file.
 
    This module uses xlrd from the python-excel.org project to read a XLS or
    XLSX file.

src/v/i/VisTrails-HEAD/vistrails/packages/tabledata/write/write_excel.py   VisTrails(Download)
from vistrails.core.bundles.pyimport import py_import
from vistrails.core import debug
from vistrails.core.modules.vistrails_module import Module, ModuleError
 
from ..common import Table

src/v/i/VisTrails-HEAD/vistrails/packages/tabledata/write/write_csv.py   VisTrails(Download)
from vistrails.core.modules.vistrails_module import Module, ModuleError
 
from ..common import Table