Skip to main content
Use local paths when the data is already on your machine. To reproduce the examples below, first download two demo files into a demo directory.

Query the downloaded records

Query PDF pages locally

Paths resolve from the working directory of the process. Absolute paths, globs, and directories work too. A directory passed to an explicit reader selects that reader’s supported extensions.

Use Python paths

This uses the reader API to pass a Path object directly. The source location changes; the reader’s schema and row grain stay the same. See Hugging Face buckets to query the hosted originals.