dotnet / dotnet/machinelearning

Potential bug in empty column computations in DataFrame

Open
#5,836 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.