pascalabcnet/InstallerSamples/StandardUnits/ML/DataFrameABC/df06.pas
Mikhalkovich Stanislav 773b6e2e4d ML
2026-02-03 10:06:55 +03:00

16 lines
255 B
ObjectPascal
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Фильтрация с NA
uses DataFrameABC;
begin
var df := DataFrame.FromCsvText('''
name,age,score
Alice,20,85
Bob,22,90
Charlie,21,78
Bob,22,90
Clara,,78
Kat,21,NA
''');
df.Filter(row -> row.IsValid('score')).Print;
end.