Skip to content

[FEATURE]: DataFrame monkey patching #313

Open
@mwojtyczka

Description

@mwojtyczka

Is there an existing issue for this?

  • I have searched the existing issues

Problem statement

Some loose ideas on how to improve and provide additional syntax.

Proposed Solution

Monkey patching dataframe:

df = df.withColumnDQ(“errors”, F.col(“col1”)), dq=[is_not_null()])
df = df.withNotNullColumn(“errors”, F.col(“col1”))
df.withColumnRule(“errors”, *args)

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions