We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test to reproduce:
[Fact] public void TestSaveAndReadCsvWithOnlyOneColumnAndNullValues() { using MemoryStream csvStream = new MemoryStream(); var column = new SingleDataFrameColumn("Data", 3); DataFrame dataFrame = new DataFrame(); dataFrame.Columns.Add(column); column[0] = 0; column[1] = null; column[2] = 2; DataFrame.SaveCsv(dataFrame, csvStream, header: true); csvStream.Seek(0, SeekOrigin.Begin); DataFrame readIn = DataFrame.LoadCsv(csvStream); Assert.Equal(column[0], readIn[0, 0]); Assert.Null(readIn[1, 0]); Assert.Equal(column[2], readIn[2, 0]); }
In case of adding additional column with the same values - everything works fine
The text was updated successfully, but these errors were encountered:
The current design is to ignore the empty new line.
https://github.com/dotnet/machinelearning/blob/main/test/Microsoft.Data.Analysis.Tests/TextFieldParserTests.cs#L413
Sorry, something went wrong.
In this case, I close the ticket. Thanks!
No branches or pull requests
Test to reproduce:
In case of adding additional column with the same values - everything works fine
The text was updated successfully, but these errors were encountered: