Skip to content

Add fill_null on dataframe/expr level #12906

Closed as duplicate
Closed as duplicate

Description

@ion-elgreco

Is your feature request related to a problem or challenge?

I would like to be able to fill_nulls per col/expr and on the dataframe level, akin to polars/pyspark/pandas

Describe the solution you'd like

Add a fill_null method to DataFrame struct, add fill_null logical expr.

Describe alternatives you've considered

No response

Additional context

No response

Activity

  1. Omega359 commented on Oct 13, 2024

    @Omega359
    Contributor

    This seems like it may almost be an alias for nvl or nvl2

  2. ion-elgreco commented on Oct 13, 2024

    @ion-elgreco
    ContributorAuthor

    @Omega359 indeed, for now I've opened a PR for a fill_null in datafusion-python that calls nvl: apache/datafusion-python#919

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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