cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Read Delta Table with Pandas

User16830818524
New Contributor II

Is it possible to read a Delta table directly into a Pandas Dataframe?

1 REPLY 1

aladda
Honored Contributor II
Honored Contributor II

You'd have convert a delta table to pyarrow and then use to_pandas. See https://databricks.com/blog/2020/12/22/natively-query-your-delta-lake-with-scala-java-and-python.htm... for details

# Create a Pandas Dataframe by initially converting the Delta Lake

# table into a PyArrow table

df = dt.to_pyarrow_table().to_pandas()

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!