Skip to main content

Daft dataframes can load any data such as PDF documents, images, protobufs, csv, parquet and audio files into a table dataframe structure for easy querying

GitHub Actions tests PyPI latest tag Coverage slack community

WebsiteDocsInstallationDaft QuickstartCommunity and Support

Daft: Unified Engine for Data Analytics, Engineering & ML/AI

Eventual-Inc/Daft | Trendshift

Daft is a distributed query engine for large-scale data processing using Python or SQL, implemented in Rust.

  • Familiar interactive API: Lazy Python Dataframe for rapid and interactive iteration, or SQL for analytical queries

  • Focus on the what: Powerful Query Optimizer that rewrites queries to be as efficient as possible

  • Data Catalog integrations: Integration with data catalogs (AWS Glue, Unity Catalog) and table formats like Apache Iceberg

  • Rich multimodal type-system: Supports multimodal types such as Images, URLs, Tensors and more

  • Seamless Interchange: Built on the Apache Arrow In-Memory Format

  • Built for the cloud: Record-setting I/O performance for integrations with S3 cloud storage

Table of Contents

About Daft

Daft was designed with the following principles in mind:

  1. Any Data: Beyond the usual strings/numbers/dates, Daft columns can also hold complex or nested multimodal data such as Images, Embeddings and Python objects efficiently with its Arrow based memory representation. Ingestion and basic transformations of multimodal data is extremely easy and performant in Daft.

  2. Interactive Computing: Daft is built for the interactive developer experience through notebooks or REPLs - intelligent caching/query optimizations accelerates your experimentation and data exploration.

  3. Distributed Computing: Some workloads can quickly outgrow your local laptop’s computational resources - Daft integrates natively with Ray for running dataframes on large clusters of machines with thousands of CPUs/GPUs.

Getting Started

Installation

Install Daft with pip install daft.

For more advanced installations (e.g. installing from source or with extra dependencies such as Ray and AWS utilities), please see our Installation Guide

Quickstart

Check out our quickstart!

In this example, we load images from an AWS S3 bucket’s URLs and resize each image in the dataframe:

import daft

# Load a dataframe from filepaths in an S3 bucket
df = daft.from_glob_path("s3://daft-public-data/laion-sample-images/*")

# 1. Download column of image URLs as a column of bytes
# 2. Decode the column of bytes into a column of images
df = df.with_column("image", df["path"].url.download().image.decode())

# Resize each image into 32x32
df = df.with_column("resized", df["image"].image.resize(32, 32))

df.show(3)

Dataframe code to load a folder of images from AWS S3 and create thumbnails

Benchmarks

AI Benchmarks

To see the full benchmarks, detailed setup, and logs, check out our benchmarking page.

More Resources

  • Daft Quickstart - learn more about Daft’s full range of capabilities including dataloading from URLs, joins, user-defined functions (UDF), groupby, aggregations and more.

  • Examples - see Daft in action with use cases across text, images, audio, and more

  • User Guide - take a deep-dive into each topic within Daft

  • API Reference - API reference for public classes/functions of Daft

  • SQL Reference - Daft SQL reference

Contributing

We <3 developers! To start contributing to Daft, please read CONTRIBUTING.md. This document describes the development lifecycle and toolchain for working on Daft. It also details how to add new functionality to the core engine and expose it through a Python API.

Here’s a list of good first issues to get yourself warmed up with Daft. Comment in the issue to pick it up, and feel free to ask any questions!

Telemetry

To help improve Daft, we collect non-identifiable data via Scarf (https://scarf.sh).

To disable this behavior, set the environment variable DO_NOT_TRACK=true.

The data that we collect is:

  1. Non-identifiable: Events are keyed by a session ID which is generated on import of Daft

  2. Metadata-only: We do not collect any of our users’ proprietary code or data

  3. For development only: We do not buy or sell any user data

Please see our documentation for more details.

https://static.scarf.sh/a.png?x-pxid=31f8d5ba-7e09-4d75-8895-5252bbf06cf6

License

Daft has an Apache 2.0 license - please see the LICENSE file.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

daft-0.6.11.tar.gz (10.8 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

daft-0.6.11-cp310-abi3-win_amd64.whl (46.5 MB view details)

Uploaded CPython 3.10+Windows x86-64

daft-0.6.11-cp310-abi3-manylinux_2_24_x86_64.whl (48.9 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ x86-64

daft-0.6.11-cp310-abi3-manylinux_2_24_aarch64.whl (46.0 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

daft-0.6.11-cp310-abi3-macosx_11_0_arm64.whl (44.7 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

daft-0.6.11-cp310-abi3-macosx_10_12_x86_64.whl (48.6 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file daft-0.6.11.tar.gz.

File metadata

  • Download URL: daft-0.6.11.tar.gz
  • Upload date:
  • Size: 10.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for daft-0.6.11.tar.gz
Algorithm Hash digest
SHA256 6e47d356949ab7121e14ad47d15fce007339b57ec2733874330a162dcd1c1b30
MD5 fca56e5c48ad7560998898ed36dfd1ef
BLAKE2b-256 2b83eac598c7b8f78d1675ae42b6ee4a0e004694aaced435f6a96e27f425eabf

See more details on using hashes here.

Provenance

The following attestation bundles were made for daft-0.6.11.tar.gz:

Publisher: publish-pypi.yml on Eventual-Inc/Daft

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file daft-0.6.11-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: daft-0.6.11-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 46.5 MB
  • Tags: CPython 3.10+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for daft-0.6.11-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 d10c9e52d5344a40293bc9768a58ab202ff1086316f128e28bbcfed039b64405
MD5 a25738e4e1123a8f463c56db5a09e0ff
BLAKE2b-256 f3586f50986b503f5ef96e2872a463d9d60b82fe215ad080d9cdf6de18d09f73

See more details on using hashes here.

Provenance

The following attestation bundles were made for daft-0.6.11-cp310-abi3-win_amd64.whl:

Publisher: publish-pypi.yml on Eventual-Inc/Daft

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file daft-0.6.11-cp310-abi3-manylinux_2_24_x86_64.whl.

File metadata

File hashes

Hashes for daft-0.6.11-cp310-abi3-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 e79492524b66aa414850a85ec7f2629a3081ea1b68d6da139e5d7dcb0401e05a
MD5 427fdfad4229316783eccfeeb1ad60e5
BLAKE2b-256 20458b0c6d6832192f138587f9a28fe8be0eb25ebabd46cb7cc8e995fa10454e

See more details on using hashes here.

Provenance

The following attestation bundles were made for daft-0.6.11-cp310-abi3-manylinux_2_24_x86_64.whl:

Publisher: publish-pypi.yml on Eventual-Inc/Daft

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file daft-0.6.11-cp310-abi3-manylinux_2_24_aarch64.whl.

File metadata

File hashes

Hashes for daft-0.6.11-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 0b6f659ae868b5409775106e8f7a12ed824c13da04e77f046fbbd5782a83c659
MD5 b00e365545239020439de2589d34d4d9
BLAKE2b-256 13b584682d5b6c57f0e0829ac1a207057ff414b6032e5fea30b6a96188820595

See more details on using hashes here.

Provenance

The following attestation bundles were made for daft-0.6.11-cp310-abi3-manylinux_2_24_aarch64.whl:

Publisher: publish-pypi.yml on Eventual-Inc/Daft

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file daft-0.6.11-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for daft-0.6.11-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 59e6dbce513adc8a237005a01a20ec310337e7fd765f66dab54d2c7c207e4272
MD5 71083446ed871236e7d4d756541d3240
BLAKE2b-256 a3c495e897739e6b4f9a1bad23bec12d277256671c6c68a450f63b89a2094a83

See more details on using hashes here.

Provenance

The following attestation bundles were made for daft-0.6.11-cp310-abi3-macosx_11_0_arm64.whl:

Publisher: publish-pypi.yml on Eventual-Inc/Daft

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file daft-0.6.11-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for daft-0.6.11-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 50421b0ee30435332fffc4236270ca9743d1b6b04d5bd5a54c4e35a4604e3e8d
MD5 71be68c48787745b606fca0820db238e
BLAKE2b-256 a048f463c4015de9b3d0bb2cc4e3c7f84ad35394e2dc854a29b425db3df2f6a1

See more details on using hashes here.

Provenance

The following attestation bundles were made for daft-0.6.11-cp310-abi3-macosx_10_12_x86_64.whl:

Publisher: publish-pypi.yml on Eventual-Inc/Daft

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.7.25

5 files

0.7.24

5 files

0.7.23

5 files

0.7.22

5 files

0.7.21

5 files

0.7.20

5 files

0.7.19

5 files

0.7.18

6 files

0.7.17

6 files

0.7.16

6 files

0.7.15

6 files

0.7.14

6 files

0.7.13

6 files

0.7.12

6 files

0.7.11

6 files

0.7.10

6 files

0.7.9

6 files

0.7.8

6 files

0.7.7

6 files

0.7.6

6 files

0.7.5

6 files

0.7.4

6 files

0.7.3

6 files

0.7.2

6 files

0.7.1

6 files

0.7.0

6 files

0.6.14

6 files

0.6.13

6 files

0.6.12

6 files

This release

0.6.11 This release

6 files

0.6.10

6 files

0.6.8

6 files

0.6.7

6 files

0.6.6

6 files

0.6.5

6 files

0.6.4

6 files

0.6.3

6 files

0.6.2

6 files

0.6.1

6 files

0.6.0

6 files

0.5.22

6 files

0.5.21

6 files

0.5.20

6 files

0.5.19

6 files

0.5.18

6 files

0.5.17

6 files

0.5.16

6 files

0.5.15

6 files

0.5.14

6 files

0.5.13

6 files

0.5.12

6 files

0.5.11

6 files

0.5.10

6 files

0.5.9

6 files

0.5.8

6 files

0.5.7

6 files

0.5.6

6 files

0.5.5

6 files

0.5.4

6 files

0.5.3

6 files

0.5.2

6 files

0.5.1

6 files

0.5.0

6 files

0.4.18

6 files

0.4.17

6 files

0.4.16

6 files

0.4.15

6 files

0.4.14

6 files

0.4.13

6 files

0.4.12

6 files

0.4.11

6 files

0.4.10

6 files

0.1.3

2 files

0.1.2

2 files

0.1.0

1 file

0.0.4

1 file

0.0.3

1 file

0.0.2

1 file

0.0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page