-
Book Overview & Buying
-
Table Of Contents
Practical C# Projects with .NET
By :
ML.NET offers a number of different ways of loading datasets, including working with flexible pandas-like data tables or strongly-typed data views.
What are data tables?
If you're not familiar with data tables in the context of data science and data engineering, a data table is a way of querying and manipulating tabular data for data analysis and data processing tasks. You can imagine a data table like a table from an Excel or Google spreadsheet, or as a table from a relational database. Data tables give you the ability to quickly and efficiently filter, clean, or update values, or even add columns with computed values.
Data tables are more complex, and I covered them extensively in Data Science in .NET with Polyglot Notebooks, so we'll focus instead on the simpler approach of loading strongly-typed data from a text file.
The first thing we'll need to do is define a class that will hold our data. This...