Microsoft.Data.Analysis DataFrameColumns.SetName method is weird #6129
Labels
enhancement
New feature or request
Microsoft.Data.Analysis
All DataFrame related issues and PRs
P2
Priority of the issue for triage purpose: Needs to be fixed at some point.
Milestone
.Net Core 3.1
Microsoft.Data.Analysis Nuget package version: 0.19.1
This would be the logical way to call the method:
dataFrame.Columns["Date_left"].SetName("Date");
But, this does not result in the column being properly renamed.
The method needs to be called like this in order to work properly:
dataFrame.Columns["Date_left"].SetName("Date", dataFrame);
Here's a program to reproduce the issue:
The text was updated successfully, but these errors were encountered: