toCSV method

Future<void> toCSV(
  1. String path
)

Convert to CSV (2D only)

Implementation

Future<void> toCSV(String path) async {
  if (ndim != 2) {
    throw ArgumentError('CSV export requires 2D array');
  }
  await exportTo(path, DataFormat.csv);
}