DartData class abstract

Abstract base interface for all dimensional data structures in DartFrame

This interface provides a common API for:

  • Scalar (0D)
  • Series (1D)
  • DataFrame (2D)
  • DataCube (3D)
  • NDArray (N-D)

All dimensional types implement this interface to enable:

  • Consistent shape access
  • Unified slicing operations
  • Common metadata handling
  • Type-safe conversions
Implementers
Available extensions

Constructors

DartData()

Properties

attrs Attributes
Metadata attributes (HDF5-style)
no setter
columnTypes Map<String, Type>?
For heterogeneous structures, get type information per column/dimension
no setter
dtype Type
Data type of elements
no setter
hashCode int
Hash code
no setteroverride
isEmpty → dynamic
Check if this data structure is empty
no setter
isHomogeneous bool
Whether this data structure is homogeneous (all elements same type)
no setter
isNotEmpty → dynamic
Check if this data structure is not empty
no setter
ndim int
Number of dimensions
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shape Shape
Shape of the data structure
no setter
size int
Total number of elements
no setter

Methods

getValue(List<int> indices) → dynamic
Get value at multi-dimensional indices
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setValue(List<int> indices, dynamic value) → void
Set value at multi-dimensional indices
slice(List sliceSpec) DartData
Slice the data structure
toDataCube() DataCube

Available on DartData, provided by the DartDataConversion extension

Converts this DartData to a DataCube.
toDataFrame() DataFrame

Available on DartData, provided by the DartDataConversion extension

Converts this DartData to a DataFrame.
toNDArray() NDArray

Available on DartData, provided by the DartDataConversion extension

Converts this DartData to an NDArray.
toSeries() Series

Available on DartData, provided by the DartDataConversion extension

Converts this DartData to a Series.
toString() String
Convert to string representation
override

Operators

operator ==(Object other) bool
Check equality
override