Install & Compatibility
Where this runs
tested against v0.5.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.940 runs
build_error
glibcpy 3.10–3.940 runs
installs and imports cleanly · install 5.7s · import 0.504s · 561MB
552MB installed
● package 552MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
DataFrame
✓ from daft import DataFrame
✗ from getdaft import DataFrame
Even when `getdaft` is installed, the actual classes come from the `daft` namespace. Incorrectly trying to import from `getdaft` will result in an `ImportError`.
Daft
✓ import daft
✗ import getdaft
The top-level package for operations and builders is `daft`, not `getdaft`.
This quickstart demonstrates usage with the actively developed `daft` library, which is the recommended approach. While `getdaft` installs an older version of `daft`, direct installation of `daft` ensures you are using the latest features and bug fixes. The imports are from the `daft` package namespace.
import daft
import pandas as pd
# IMPORTANT: Use 'pip install daft' directly.
# 'getdaft' installs an old version of 'daft' and should not be used.
# Create a sample Pandas DataFrame
pd_df = pd.DataFrame({
"name": ["Alice", "Bob", "Charlie"],
"age": [25, 30, 35]
})
# Convert to Daft DataFrame
daft_df = daft.from_pandas(pd_df)
# Perform a simple operation
result_df = daft_df.select(
dafa_df["name"],
daft_df["age"] + 1 # Increment age
)
# Collect the result to a Pandas DataFrame for display
print("Resulting Daft DataFrame (collected to Pandas):")
print(result_df.collect().to_pandas())
Debug
Known issues
breakingThe `getdaft` package is no longer actively maintained and has been effectively superseded by the `daft` package. New development, features, and bug fixes are exclusively applied to `daft`.fixMigrate your project to use `daft` directly. Uninstall `getdaft` and `pip install daft` to get the latest version.
affects: All versions of `getdaft` (0.x.x)
gotchaInstalling `getdaft` (e.g., `0.5.0`) will install `daft==0.5.0`, which is a specific, older version of the `daft` library. This can lead to unexpected behavior or missing features if your code expects a newer `daft` version.fixAlways install `daft` directly using `pip install daft` to ensure you get the latest, actively developed version.
affects: All versions of `getdaft`
gotchaDespite `getdaft` being the installed package name, all core functionalities and classes are exposed under the `daft` namespace (e.g., `from daft import DataFrame`). Attempting to import from `getdaft` will fail.fixAlways use `import daft` or `from daft import ...` in your Python code.
affects: All versions of `getdaft`
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'getdaft'
You are trying to import from `getdaft`, but even if `getdaft` is installed, its components are exposed under the `daft` namespace.
fixChange your import statements from `import getdaft` or `from getdaft import ...` to `import daft` or `from daft import ...`.
AttributeError: module 'daft' has no attribute 'some_new_feature'
You have `getdaft` installed, which provides an older version of the `daft` library (e.g., `daft==0.5.0`). The feature you are trying to use was introduced in a newer version of `daft`.
fixUninstall `getdaft` and any existing `daft` installations, then install the latest `daft` directly: `pip uninstall getdaft daft` followed by `pip install daft`.
Upgrade
Version history
0.5.0latest on PyPI · released Aug 1, 2025
Audit
Dependencies
daft==0.5.0required`getdaft` installs this specific version of `daft` as its primary component.