Skip to content

Defining a TextLoader with hasHeader=true and no data sample results in no slot names #3053

New issue

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

Closed
yaeldekel opened this issue Mar 21, 2019 · 0 comments · Fixed by #4655
Closed
Labels
documentation Related to documentation of ML.NET P2 Priority of the issue for triage purpose: Needs to be fixed at some point.

Comments

@yaeldekel
Copy link

Related to issue #2663. We need to document the fact that if we create a TextLoader specifying hasHeader=true but without a data sample, then we are actually just letting the loader know that it needs to skip the first line when it eventually loads from a text file. The output schema of that TextLoader will not contain slot names, since the schema is created when the loader is created, and not when Load is called.

@yaeldekel yaeldekel added the documentation Related to documentation of ML.NET label Mar 21, 2019
@shmoradims shmoradims added the P2 Priority of the issue for triage purpose: Needs to be fixed at some point. label May 21, 2019
@ghost ghost locked as resolved and limited conversation to collaborators Mar 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Related to documentation of ML.NET P2 Priority of the issue for triage purpose: Needs to be fixed at some point.
Projects
None yet
2 participants