Closed feiyun0112 closed 6 months ago
fix #7135
Describe the bug Accessing data by column after adding columns to a DataFrame returns error data
var df = DataFrame.LoadCsvFromString("a1,a2\n1,2\n3,4"); var dc0 = DataFrameColumn.Create("a0", new int[] { 0, 0 }); df.Columns.Insert(0, dc0); var dc1 = df["a1"]; Console.WriteLine(dc1.ToString());
This code expected print: a1: 1 3 But it print: a0: 0 0
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 68.55%. Comparing base (72cfdf6) to head (2fb52cd).
72cfdf6
2fb52cd
fix #7135
Describe the bug Accessing data by column after adding columns to a DataFrame returns error data
This code expected print: a1: 1 3 But it print: a0: 0 0