DataFrame.It
Get Less than of DataFrame and other, element-wise (binary operator eq).
Parameters
Type
Description
Default
Examples
Comparing a DataFrame with a scalar value:
const dfd = require("danfojs-node")
let data = {"Col1": [10, 45, 56, 10],
"Col2": [23, 20, 10, 24]}
let df = new dfd.DataFrame(data)
let df_rep = df.lt(20)
df_rep.print()βββββ€ββββββββββββββββββββ€ββββββββββββββββββββ
β β Col1 β Col2 β
βββββΌββββββββββββββββββββΌββββββββββββββββββββ’
β 0 β true β false β
βββββΌββββββββββββββββββββΌββββββββββββββββββββ’
β 1 β false β false β
βββββΌββββββββββββββββββββΌββββββββββββββββββββ’
β 2 β false β true β
βββββΌββββββββββββββββββββΌββββββββββββββββββββ’
β 3 β true β false β
βββββ§ββββββββββββββββββββ§ββββββββββββββββββββComparing a DataFrame with a Series along the column axis:
Comparing a DataFrame with another DataFrame
Comparing a DataFrame with an Array
Last updated