dotnet / dotnet/machinelearning
It's hard to create a TextLoader column of type key
Open
area-Core
Priority:2
- Dominant language
- C#
- Stars
- 9.4k
- Forks
- 2k
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 11
Description
It seems that the only way to create a key column for `TextLoader` is using this constructor:
```
public Column(string name, DataKind dataKind, TextLoader.Range[] source, KeyCount keyCount = null)
```
Should we consider adding an optional `KeyCount` argument to the other constructors?
```
public Column(string name, DataKind dataKind, int index);
public Column(string name, DataKind dataKind, int minIndex, int maxIndex);
```
Contributor guide
Assessment
This issue has not been assessed yet.