Skip to content

Python

Install the package, then follow the Python quickstart to read your first rows. Queries run in your Python process. You do not need a Spark or Databricks cluster.

Once you can read a table, choose a page below for the task at hand.

Common tasks

Task Read
Select columns or filter rows Read a table
Work with a Pandas or Polars DataFrame Convert the result
Run a SQL query Query with SQL
Process a result that may not fit in memory Read in batches
Read an older version or pick up new data Table versions
Connect to cloud storage S3 or Azure
Catch a failure or inspect an error code Handle errors
Show reader progress or enable more detailed logs Enable logging
Reduce work before the first query Table preparation
Limit concurrent file reads Parallel read settings

API reference

Use these pages to look up signatures, parameters, defaults, and exceptions.

Task API
Open a table and inspect its columns DeltaTable
Select rows and columns as PyArrow batches DeltaTable.to_reader()
Run SQL over one or more tables Session
Read a newer table version DeltaTable.refresh()
Limit concurrent file reads or buffering ScanExecutionOptions

Advanced integration

Use these pages when implementing an Arrow stream integration or customizing how your application handles diagnostic records. Pandas and Polars users can use the conversion example above.

Task Read
Export a scan to another Arrow library Arrow stream interface
Format structured log fields or write a logging handler Log records and handlers