User Guide#

This guide provides detailed information on how to use df-eval for various data transformation tasks.

Getting Started#

If you haven’t installed df-eval yet, see the Installation section in the main documentation.

Guide Contents#

What You’ll Learn#

  • Basic Usage: Learn the fundamentals of expression evaluation and schema-driven transformations

  • Advanced Usage: Explore dependency management, provenance tracking, custom functions, and Parquet streaming

  • Lookups: Master external data lookups and resolver patterns

Quick Reference#

Creating an Engine#

from df_eval import Engine

engine = Engine()

Basic Evaluation#

result = engine.evaluate(df, "a + b")

Schema Application#

schema = {"derived_col": "a * 2"}
result = engine.apply_schema(df, schema)

Next Steps#

Start with Basic Usage to learn the fundamentals, then progress through the guide at your own pace.

For runnable examples, see Examples.