Skip to content

Improve exception text on grouping by invalid column name in DataFrame #5813

@asmirnov82

Description

@asmirnov82

System information

  • OS version/distro: any
  • .NET Version (eg., dotnet --info): any

Issue

  • What did you do?

Attempt to group by not existing column in DataFrame

  • What happened?

Got an System.ArgumentException exception with message "Column does not exist" and Parameter name: columnName

  • What did you expect?

More informative message with the name of the column. System.ArgumentException : Column 'column name' does not exist
Parameter name: columnName

Source code / logs

Please paste or attach the code or logs or traces that would be helpful to diagnose the issue you are reporting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions