DataFrame class

A structure to store and manipulate data

Constructors

DataFrame(Iterable<Iterable> data, {bool headerExists: true, Iterable<String> header: const [], String autoHeaderPrefix: defaultHeaderPrefix, Iterable<int> columns: const [], Iterable<String> columnNames: const []})
Creates a data frame from non-typed data. [...]
factory
DataFrame.fromMatrix(Matrix matrix, {Iterable<String> header, String autoHeaderPrefix: defaultHeaderPrefix, Iterable<int> columns: const [], Iterable<int> discreteColumns: const [], Iterable<String> discreteColumnNames: const []})
factory
DataFrame.fromSeries(Iterable<Series> series)
factory

Properties

Returns a collection of names of all series (like a table header)
read-only
rows → Iterable<Iterable>
read-only
series → Iterable<Series>
Returns a lazy series (columns) collection of the DataFrame. [...]
read-only
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

dropSeries({Iterable<int> seriesIndices, Iterable<String> seriesNames}) DataFrame
Returns a new DataFrame without specified series (columns)
sampleFromSeries({Iterable<int> indices, Iterable<String> names}) DataFrame
Returns a dataframe, sampled from series, that are obtained from provided series indices or series names. [...]
toMatrix([DType dtype]) Matrix
Converts the DataFrame into Matrix. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator [](Object key) Series
Returns a specific Series by a key. [...]
operator ==(dynamic other) → bool
The equality operator.
inherited