DataFrame

DataFrame

Members

Aliases

RowType
alias RowType = Row!T
Undocumented in source.
fieldNames
alias fieldNames = FieldNameTuple!(T)
Undocumented in source.
fieldTypes
alias fieldTypes = FieldTypeTuple!(T)
Undocumented in source.

Functions

add
void add(T data)

Add a row to the dataframe.

columnNames
string[] columnNames()

Get the list of column names

head
RowType[] head(size_t count)
Undocumented in source. Be warned that the author may not have intended to support it.
length
size_t length()

Get the number of rows

ncol
size_t ncol()

Get the number of columns

nrow
size_t nrow()

Get the number of rows. Alias of length

opDollar
size_t opDollar()
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
Variant opIndex(string label)

Access the DataFrame column by label

opIndex
Variant opIndex(size_t idx)

Access the DataFrame column by index

opSlice
auto opSlice(size_t start, size_t end)
Undocumented in source. Be warned that the author may not have intended to support it.
resample
DataFrame!T resample(T1 grouped, string logic)
Undocumented in source. Be warned that the author may not have intended to support it.
resample
DataFrame!T resample(T1 grouped, string[] logic)
Undocumented in source. Be warned that the author may not have intended to support it.
resample
DataFrame!T resample(T1 grouped, string[string] logic)
Undocumented in source. Be warned that the author may not have intended to support it.
row
RowType row(size_t idx)
Undocumented in source. Be warned that the author may not have intended to support it.
rows
RowType[] rows()
Undocumented in source. Be warned that the author may not have intended to support it.
tail
RowType[] tail(size_t count)
Undocumented in source. Be warned that the author may not have intended to support it.
toColumn
Column!T1 toColumn(RowType[] rows)
Undocumented in source. Be warned that the author may not have intended to support it.
toDataFrame
DataFrame!T toDataFrame()
Undocumented in source. Be warned that the author may not have intended to support it.
toDataFrame
DataFrame!T1 toDataFrame()
Undocumented in source. Be warned that the author may not have intended to support it.
toJSON
JSONValue toJSON()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

index
size_t[] index;
Undocumented in source.

Meta