pandas 1.4.2

NotesParametersReturns
read_orc(path: 'FilePath | ReadBuffer[bytes]', columns: 'list[str] | None' = None, **kwargs) -> 'DataFrame'
versionadded

Notes

Before using this function you should read the user guide about ORC <io.orc> and install optional dependencies <install.warn_orc> .

Parameters

path : str, path object, or file-like object

String, path object (implementing os.PathLike[str] ), or file-like object implementing a binary read() function. The string could be a URL. Valid URL schemes include http, ftp, s3, and file. For file URLs, a host is expected. A local file could be: file://localhost/path/to/table.orc .

columns : list, default None

If not None, only these columns will be read from the file.

**kwargs :

Any additional kwargs are passed to pyarrow.

Returns

DataFrame

Load an ORC object from the file path, returning a DataFrame.

Examples

See :

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


File: /pandas/io/orc.py#18
type: <class 'function'>
Commit: