pypath.inputs.common§

members:

Functions

csv_sep_change(csv, old, new)

glom_fields([fields])

Generates a glom spec dict from a list or dict, protecting each field by glom.Coalesce.

json_extract(data, spec)

Extracts fields of arbitrary depth from JSON data into a list of dicts.

json_read(data)

Reads JSON from file or string, pass through for any other value.

read_table(cols[, fileObject, data, sep, ...])

Generic function to read data tables.

read_xls(xls_file[, sheet, use_openpyxl, ...])

Generic function to read MS Excel XLS file, and convert one sheet to CSV, or return as a list of lists