dotnet / dotnet/machinelearning
Potential bug in empty column computations in DataFrame
Open
area-DataFrame
- Dominant language
- C#
- Stars
- 9.4k
- Forks
- 2k
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 11
Description
If a `PrimitiveDataFrameColumn` is empty, and `CumulativeMax` is called, a null dereference may occur and cause a crash. See https://source.dot.net/#Microsoft.Data.Analysis/PrimitiveDataFrameColumnComputations.cs,264
The fix is simple, but it needs to be applied to the tt file. Many computation APIs are affected. The fix should also apply to DateTImeComputations.cs
Contributor guide
Assessment
This issue has not been assessed yet.