Skip to content

Files

Latest commit

b8dd97b · Mar 17, 2025

History

History
This branch is 1 commit behind apache/datafusion-python:main.

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Mar 10, 2025
Mar 17, 2025
May 13, 2024
Jan 19, 2023
Mar 17, 2025
Feb 22, 2023
Jan 22, 2025
Jan 22, 2025
Mar 17, 2025
Mar 17, 2025
Mar 17, 2025
Mar 12, 2025
Mar 17, 2025
Jan 22, 2025
Feb 22, 2023
Jan 22, 2025
Mar 17, 2025
Jan 22, 2025
Jul 31, 2024

DataFusion Python Examples

Some examples rely on data which can be downloaded from the following site:

Here is a direct link to the file used in the examples:

Creating a SessionContext

Executing Queries with DataFusion

Running User-Defined Python Code

Substrait Support

Executing SQL against DataFrame Libraries (Experimental)

TPC-H Examples

Within the subdirectory tpch there are 22 examples that reproduce queries in the TPC-H specification. These include realistic data that can be generated at arbitrary scale and allow the user to see use cases for a variety of data frame operations.

In the list below we describe which new operations can be found in the examples. The queries are designed to be of increasing complexity, so it is recommended to review them in order. For brevity, the following list does not include operations found in previous examples.