DataFrame class final

Available extensions

Properties

hashCode → int
The hash code for this object.
no setterinherited
isClosed → bool
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → void
column(String name) → Series

Available on DataFrame, provided by the EagerDataFrameOperations extension

distinct({Iterable<String>? subset, String keep = 'first', bool maintainOrder = false}) → DataFrame

Available on DataFrame, provided by the EagerDataFrameOperations extension

drop(Iterable<String> columns, {bool strict = true}) → DataFrame

Available on DataFrame, provided by the EagerDataFrameOperations extension

dropNulls({Iterable<String>? subset}) → DataFrame

Available on DataFrame, provided by the EagerDataFrameOperations extension

explode(Iterable<String> columns) → DataFrame

Available on DataFrame, provided by the EagerDataFrameOperations extension

export([RecordBatchCodec codec = const RecordBatchCodec()]) → Future<RecordBatch>
exportArrowC() → ArrowCData
Exports this frame as one Arrow struct array with flat child columns. The returned C payload is independent of this frame handle.
exportArrowCStream({int maxRows = 65536}) → ArrowCStream
Exports lazily produced Arrow struct-array batches of at most maxRows.
exportSync([RecordBatchCodec codec = const RecordBatchCodec()]) → RecordBatch
filter(Expr predicate) → DataFrame

Available on DataFrame, provided by the EagerDataFrameOperations extension

filterMask(Series mask) → DataFrame

Available on DataFrame, provided by the EagerDataFrameOperations extension

Available on DataFrame, provided by the EagerDataFrameOperations extension

info() → Future<Map<String, Object?>>
infoSync() → Map<String, Object?>
lazy() → LazyFrame
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rename(Map<String, String> mapping, {bool strict = true}) → DataFrame

Available on DataFrame, provided by the EagerDataFrameOperations extension

reverse() → DataFrame

Available on DataFrame, provided by the EagerDataFrameOperations extension

schema() → Future<List<Field>>
schemaSync() → List<Field>
select(Iterable<Expr> expressions) → DataFrame

Available on DataFrame, provided by the EagerDataFrameOperations extension

selectColumns(Iterable<String> columns) → DataFrame

Available on DataFrame, provided by the EagerDataFrameOperations extension

shapeSync() → (int, int)
slice(int offset, int length) → DataFrame

Available on DataFrame, provided by the EagerDataFrameOperations extension

sort(Iterable<Expr> by, {Object descending = false, Object nullsLast = false, bool maintainOrder = false}) → DataFrame

Available on DataFrame, provided by the EagerDataFrameOperations extension

tail([int length = 5]) → DataFrame

Available on DataFrame, provided by the EagerDataFrameOperations extension

toString() → String
A string representation of this object.
inherited
transpose({bool includeHeader = false, String headerName = 'column', Iterable<String>? columnNames}) → DataFrame

Available on DataFrame, provided by the EagerDataFrameOperations extension

Transposes rows and columns. This is an expensive operation.
unnest(Iterable<String> columns) → DataFrame

Available on DataFrame, provided by the EagerDataFrameOperations extension

unpivot({Iterable<String>? on, Iterable<String> index = const [], String? variableName, String? valueName}) → DataFrame

Available on DataFrame, provided by the EagerDataFrameOperations extension

withColumns(Iterable<Expr> expressions) → DataFrame

Available on DataFrame, provided by the EagerDataFrameOperations extension

writeCsv(String path, {bool? includeHeader, String? separator, CsvWriteOptions options = const CsvWriteOptions()}) → Future<void>
writeCsvSync(String path, {bool? includeHeader, String? separator, CsvWriteOptions options = const CsvWriteOptions()}) → void
writeFeather(String path, {IpcWriteOptions options = const IpcWriteOptions()}) → Future<void>

Available on DataFrame, provided by the LocalIoDataFrame extension

writeFeatherSync(String path, {IpcWriteOptions options = const IpcWriteOptions()}) → void

Available on DataFrame, provided by the LocalIoDataFrame extension

writeIpc(String path, {IpcWriteOptions options = const IpcWriteOptions()}) → Future<void>

Available on DataFrame, provided by the LocalIoDataFrame extension

writeIpcStream(String path, {IpcStreamWriteOptions options = const IpcStreamWriteOptions()}) → Future<void>

Available on DataFrame, provided by the LocalIoDataFrame extension

writeIpcStreamSync(String path, {IpcStreamWriteOptions options = const IpcStreamWriteOptions()}) → void

Available on DataFrame, provided by the LocalIoDataFrame extension

writeIpcSync(String path, {IpcWriteOptions options = const IpcWriteOptions()}) → void

Available on DataFrame, provided by the LocalIoDataFrame extension

writeJson(String path) → Future<void>

Available on DataFrame, provided by the LocalIoDataFrame extension

writeJsonSync(String path) → void

Available on DataFrame, provided by the LocalIoDataFrame extension

writeNdjson(String path) → Future<void>

Available on DataFrame, provided by the LocalIoDataFrame extension

writeNdjsonSync(String path) → void

Available on DataFrame, provided by the LocalIoDataFrame extension

writeParquet(String path, {String? compression, ParquetWriteOptions options = const ParquetWriteOptions()}) → Future<void>
writeParquetSync(String path, {String? compression, ParquetWriteOptions options = const ParquetWriteOptions()}) → void

Operators

operator ==(Object other) → bool
The equality operator.
inherited