Skip to content

Add QueryBuilder.to_dataframe() for fluent DataFrame queries #147

@saurabhrb

Description

@saurabhrb

Summary

Add a to_dataframe() method to QueryBuilder to connect the DataFrame scenario to the fluent syntax / QueryBuilder changes.

This enables a workflow like:

df = client.query.builder("account").select("name", "telephone1").filter("statecode eq 0").top(100).to_dataframe()

Context

Acceptance Criteria

  • QueryBuilder has a to_dataframe() terminal method that executes the query and returns a pd.DataFrame
  • All pages are consolidated into a single DataFrame (same behavior as client.dataframe.get())
  • Unit tests covering the new method
  • Documentation updated (README, docstrings)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions