{"id":8194,"library":"getdaft","title":"getdaft (Superseded by Daft)","description":"The `getdaft` package served as an initial entry point for the Daft distributed dataframe library. As of its `0.5.0` version, it acts primarily as a wrapper that installs an older, specific version of the `daft` package (currently `daft==0.5.0`). Users should directly install and use the actively developed `daft` library instead, as `getdaft` is no longer maintained.","status":"renamed","version":"0.5.0","language":"en","source_language":"en","source_url":"https://github.com/getdaft/getdaft","tags":["dataframe","distributed-computing","etl","arrow","polars","data-processing","deprecation"],"install":[{"cmd":"pip install getdaft","lang":"bash","label":"Do NOT use this for new projects, it installs an outdated Daft version."},{"cmd":"pip install daft","lang":"bash","label":"Install the active Daft library (recommended)"}],"dependencies":[{"reason":"`getdaft` installs this specific version of `daft` as its primary component.","package":"daft==0.5.0","optional":false}],"imports":[{"note":"Even when `getdaft` is installed, the actual classes come from the `daft` namespace. Incorrectly trying to import from `getdaft` will result in an `ImportError`.","wrong":"from getdaft import DataFrame","symbol":"DataFrame","correct":"from daft import DataFrame"},{"note":"The top-level package for operations and builders is `daft`, not `getdaft`.","wrong":"import getdaft","symbol":"Daft","correct":"import daft"}],"quickstart":{"code":"import daft\nimport pandas as pd\n\n# IMPORTANT: Use 'pip install daft' directly.\n# 'getdaft' installs an old version of 'daft' and should not be used.\n\n# Create a sample Pandas DataFrame\npd_df = pd.DataFrame({\n    \"name\": [\"Alice\", \"Bob\", \"Charlie\"],\n    \"age\": [25, 30, 35]\n})\n\n# Convert to Daft DataFrame\ndaft_df = daft.from_pandas(pd_df)\n\n# Perform a simple operation\nresult_df = daft_df.select(\ndafa_df[\"name\"],\n    daft_df[\"age\"] + 1  # Increment age\n)\n\n# Collect the result to a Pandas DataFrame for display\nprint(\"Resulting Daft DataFrame (collected to Pandas):\")\nprint(result_df.collect().to_pandas())","lang":"python","description":"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."},"warnings":[{"fix":"Migrate your project to use `daft` directly. Uninstall `getdaft` and `pip install daft` to get the latest version.","message":"The `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`.","severity":"breaking","affected_versions":"All versions of `getdaft` (0.x.x)"},{"fix":"Always install `daft` directly using `pip install daft` to ensure you get the latest, actively developed version.","message":"Installing `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.","severity":"gotcha","affected_versions":"All versions of `getdaft`"},{"fix":"Always use `import daft` or `from daft import ...` in your Python code.","message":"Despite `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.","severity":"gotcha","affected_versions":"All versions of `getdaft`"}],"env_vars":null,"last_verified":"2026-04-16T00:00:00.000Z","next_check":"2026-07-15T00:00:00.000Z","problems":[{"fix":"Change your import statements from `import getdaft` or `from getdaft import ...` to `import daft` or `from daft import ...`.","cause":"You are trying to import from `getdaft`, but even if `getdaft` is installed, its components are exposed under the `daft` namespace.","error":"ModuleNotFoundError: No module named 'getdaft'"},{"fix":"Uninstall `getdaft` and any existing `daft` installations, then install the latest `daft` directly: `pip uninstall getdaft daft` followed by `pip install daft`.","cause":"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`.","error":"AttributeError: module 'daft' has no attribute 'some_new_feature'"}]}