magpie ~master (2019-09-13T05:17:26Z)
Dub
Repo
DataFrame.filter
magpie
dataframe
DataFrame
Filter the DataFrame based on the result of callback
struct
DataFrame
(FrameFields...)
@
property
auto
filter
(
alias
filterFunc
)
(
)
if
(
FrameFields.length
> 0 &&
(
(
!
isType
!(
FrameFields
[0]) &&
is
(
typeof
(
FrameFields
[0]) ==
bool
)
&&
FrameFields
[0] == true
&&
FrameFields.length
> 1
)
||
isType
!(
FrameFields
[0])
)
)
Return Value
Type:
auto
Filtered DataFrame
Meta
Source
See Implementation
magpie
dataframe
DataFrame
aliases
FrameType
RowType
functions
aggregate
apply
asSlice
assign
at
columnToIndex
display
drop
fastCSV
filter
from_csv
getColumnPosition
getRowPosition
groupBy
indexToData
opAssign
opIndex
opIndexAssign
opIndexOpAssign
setFrameIndex
to_csv
variables
cols
data
indx
isHomogeneousType
rows
Filter the DataFrame based on the result of callback