Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/javascriptdata/danfojs
/ functions
Functions
561 in github.com/javascriptdata/danfojs
⨍
Functions
561
◇
Types & classes
53
↓ 145 callers
Method
map
( callable: mapParam, options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:142
↓ 101 callers
Method
$setValues
* Updates the internal $data property to the specified value * @param values An array of values to set * @param checkLength Whether to check
src/danfojs-base/core/generic.ts:372
↓ 81 callers
Method
indexOf
(str = "", options?: { inplace?: boolean })
src/danfojs-base/core/strings.ts:362
↓ 80 callers
Method
iloc
(rows: Array<string | number> | boolean[])
src/danfojs-base/shared/types.ts:113
↓ 66 callers
Method
loc
(options: { rows?: Array<string | number>, columns?: Array<string> })
src/danfojs-base/shared/types.ts:200
↓ 51 callers
Method
includes
(str = "", options?: { inplace?: boolean })
src/danfojs-base/core/strings.ts:327
↓ 45 callers
Method
isEmpty
* Checks if a value is empty. Empty means it's either null, undefined or NaN. * Empty strings are NOT considered empty. * @param value The v
src/danfojs-base/shared/utils.ts:94
↓ 44 callers
Method
groupby
(col: Array<string>)
src/danfojs-base/shared/types.ts:259
↓ 43 callers
Method
add
(other: Series | number | Array<number>, options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:117
↓ 42 callers
Method
join
(valToJoin = "", joinChar = " ", options?: { inplace?: boolean })
src/danfojs-base/core/strings.ts:710
↓ 41 callers
Method
print
()
src/danfojs-base/shared/types.ts:103
↓ 41 callers
Method
replace
(oldValue: string | number | boolean, newValue: string | number | boolean, options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:163
↓ 40 callers
Method
sortValues
(options?: { ascending?: boolean, inplace?: boolean })
src/danfojs-base/shared/types.ts:137
↓ 37 callers
Method
transform
* Encode labels with value between 0 and n_classes-1. * @param data 1d array of labels, Tensor, or Series to be encoded. * @example *
src/danfojs-base/transformers/encoders/label.encoder.ts:82
↓ 31 callers
Method
fit
* Maps values to unique integer labels between 0 and n_classes-1. * @param data 1d array of labels, Tensor, or Series to fit. * @example
src/danfojs-base/transformers/encoders/label.encoder.ts:60
↓ 29 callers
Method
inferDtype
* Infer data type from an array or array of arrays * @param arr An array or array of arrays
src/danfojs-base/shared/utils.ts:260
↓ 29 callers
Method
mean
()
src/danfojs-base/shared/types.ts:123
↓ 27 callers
Method
drop
( options: { columns?: string | Array<string>, index?: Arr
src/danfojs-base/shared/types.ts:192
↓ 26 callers
Method
and
(other: any)
src/danfojs-base/shared/types.ts:177
↓ 26 callers
Method
append
(values: string | number | boolean | Series | ArrayType1D, index: Array<number | string> | number | st
src/danfojs-base/shared/types.ts:173
↓ 26 callers
Method
at
(index: string | number)
src/danfojs-base/shared/types.ts:185
↓ 26 callers
Method
round
(dp: number, options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:132
↓ 26 callers
Method
setIndex
(index: Array<number | string | (number | string)>, options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:141
↓ 25 callers
Method
copy
()
src/danfojs-base/shared/types.ts:138
↓ 25 callers
Method
startsWith
(str = "", options?: { inplace?: boolean })
src/danfojs-base/core/strings.ts:257
↓ 25 callers
Method
sub
(other: Series | number | Array<number>, options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:118
↓ 24 callers
Method
div
(other: Series | number | Array<number>, options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:120
↓ 24 callers
Method
iat
(index: number)
src/danfojs-base/shared/types.ts:184
↓ 24 callers
Method
sum
()
src/danfojs-base/shared/types.ts:128
↓ 23 callers
Method
$frameIsNotCompactibleForArithmeticOperation
()
src/danfojs-base/core/frame.ts:224
↓ 23 callers
Method
transposeArray
* Transposes an array of array * @param obj The object to check. * @param key The key to find.
src/danfojs-base/shared/utils.ts:154
↓ 22 callers
Method
$setIndex
(index: Array<string | number>)
src/danfojs-base/shared/types.ts:91
↓ 22 callers
Method
asType
(dtype: "float32" | "int32" | "string" | "boolean", options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:170
↓ 22 callers
Method
lt
(other: Series | number | Array<number> | boolean[])
src/danfojs-base/shared/types.ts:157
↓ 22 callers
Function
throwErrorOnWrongColName
(ndframe: DataFrame, colName: string)
src/danfojs-base/plotting/plotly/utils.ts:28
↓ 21 callers
Method
addColumn
( column: string, values: Series | ArrayType1D, options?: { inplace?: bool
src/danfojs-base/shared/types.ts:251
↓ 21 callers
Method
count
()
src/danfojs-base/shared/types.ts:129
↓ 21 callers
Method
mul
(other: Series | number | Array<number>, options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:119
↓ 21 callers
Method
slice
(startIndex = 0, endIndex = 1, options?: { inplace?: boolean })
src/danfojs-base/core/strings.ts:540
↓ 20 callers
Method
col
* Generate new internal groupby data * group = df.groupby(['A', 'B']).col('C') * This filter the colDict property as generated by `.group()`
src/danfojs-base/aggregators/groupby.ts:155
↓ 20 callers
Method
fillNa
(value: number | string | boolean, options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:136
↓ 20 callers
Method
getDummies
(options?: { prefix?: string | Array<string>, prefixSeparator?: string | Array<string>,
src/danfojs-base/shared/types.ts:179
↓ 20 callers
Method
sample
(num: number, options?: { seed?: number })
src/danfojs-base/shared/types.ts:116
↓ 19 callers
Method
tail
(rows: number)
src/danfojs-base/shared/types.ts:115
↓ 18 callers
Method
diff
(other: DataFrame | Series | number[] | number, options?: { axis?: 0 | 1, inplace?: boolean })
src/danfojs-base/shared/types.ts:221
↓ 18 callers
Method
dropNa
(options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:164
↓ 18 callers
Method
ge
(other: Series | number | Array<number> | boolean[])
src/danfojs-base/shared/types.ts:160
↓ 18 callers
Method
gt
(other: Series | number | Array<number> | boolean[])
src/danfojs-base/shared/types.ts:158
↓ 18 callers
Method
pctChange
(other: DataFrame | Series | number[] | number, options?: { axis?: 0 | 1, inplace?: boolean })
src/danfojs-base/shared/types.ts:220
↓ 17 callers
Method
min
()
src/danfojs-base/shared/types.ts:126
↓ 17 callers
Method
mod
(other: Series | number | Array<number>, options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:122
↓ 16 callers
Method
concat
(other: Array<string> | string, position = 1, options?: { inplace?: boolean })
src/danfojs-base/core/strings.ts:196
↓ 15 callers
Method
$getTensorsForArithmeticOperationByAxis
* Return Tensors in the right axis for math operations. * @param other DataFrame or Series or number or array * @param axis 0 or 1. If 0, co
src/danfojs-base/core/frame.ts:235
↓ 15 callers
Method
head
(rows: number)
src/danfojs-base/shared/types.ts:114
↓ 15 callers
Method
max
()
src/danfojs-base/shared/types.ts:127
↓ 14 callers
Method
cumMax
(options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:155
↓ 14 callers
Method
cumSum
(options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:153
↓ 14 callers
Method
endsWith
(str = "", options?: { inplace?: boolean })
src/danfojs-base/core/strings.ts:292
↓ 14 callers
Method
eq
(other: Series | number | Array<number> | boolean[])
src/danfojs-base/shared/types.ts:162
↓ 14 callers
Method
query
(condition: Series | Array<boolean>, options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:250
↓ 14 callers
Method
rename
( mapper: object, options?: { axis?: 0 | 1 inplace?: boolean }
src/danfojs-base/shared/types.ts:294
↓ 12 callers
Method
$getColumnData
* Returns the column data from the DataFrame by column name. * @param column column name to get the column data * @param returnSeries Wheth
src/danfojs-base/core/frame.ts:94
↓ 12 callers
Method
apply
( callable: (value: any) => any, options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:146
↓ 12 callers
Method
cumMin
(options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:154
↓ 12 callers
Method
cumProd
(options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:156
↓ 12 callers
Method
mode
()
src/danfojs-base/shared/types.ts:125
↓ 12 callers
Method
month
()
src/danfojs-base/shared/types.ts:335
↓ 12 callers
Function
toDateTime
(data: Series | ArrayType1D)
src/danfojs-base/core/datetime.ts:263
↓ 12 callers
Method
valueCounts
()
src/danfojs-base/shared/types.ts:151
↓ 11 callers
Method
$MathOps
(tensors: typeof tensorflow.Tensor[], operation: string, inplace: boolean)
src/danfojs-base/core/frame.ts:309
↓ 11 callers
Method
$getDataByAxisWithMissingValuesRemoved
* Return data with missing values removed from a specified axis * @param axis 0 or 1. If 0, column-wise, if 1, row-wise
src/danfojs-base/core/frame.ts:192
↓ 11 callers
Method
copy
* Makes a deep copy of a Series * @example * ``` * const sf = new Series([1, 2, 3, 4, 5, 6]); * const sf2 = sf.copy(); *
src/danfojs-base/core/series.ts:870
↓ 11 callers
Method
operations
(ops: string)
src/danfojs-base/aggregators/groupby.ts:415
↓ 11 callers
Method
range
()
src/danfojs-base/core/daterange.ts:59
↓ 11 callers
Method
sortIndex
(options?: { inplace?: boolean ascending?: boolean } )
src/danfojs-base/shared/types.ts:301
↓ 10 callers
Method
abs
(options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:152
↓ 10 callers
Method
dayOfMonth
()
src/danfojs-base/shared/types.ts:339
↓ 10 callers
Method
describe
()
src/danfojs-base/shared/types.ts:139
↓ 10 callers
Method
fitTransform
* Fit and transform data in one step. * @param data 1d array of labels, Tensor, or Series to be encoded. * @example * ``` * const
src/danfojs-base/transformers/encoders/label.encoder.ts:108
↓ 10 callers
Method
ne
(other: Series | number | Array<number> | boolean[])
src/danfojs-base/shared/types.ts:161
↓ 10 callers
Method
pow
(other: Series | number | Array<number>, options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:121
↓ 10 callers
Method
resetIndex
(options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:140
↓ 10 callers
Method
selectDtypes
(include: Array<string>)
src/danfojs-base/shared/types.ts:248
↓ 10 callers
Method
std
()
src/danfojs-base/shared/types.ts:133
↓ 10 callers
Method
var
()
src/danfojs-base/shared/types.ts:134
↓ 10 callers
Method
year
()
src/danfojs-base/shared/types.ts:337
↓ 9 callers
Method
column
(column: string)
src/danfojs-base/shared/types.ts:260
↓ 9 callers
Method
is1DArray
* Checks if array is 1D * @param arr The array
src/danfojs-base/shared/utils.ts:369
↓ 9 callers
Method
or
(other: any)
src/danfojs-base/shared/types.ts:178
↓ 9 callers
Method
split
(splitVal = " ", options?: { inplace?: boolean })
src/danfojs-base/core/strings.ts:574
↓ 8 callers
Method
$checkAndCleanValues
* Checks if the array value passed has a compatible dtype, removes NaN values, and if * boolean values are present, converts them to integer val
src/danfojs-base/core/series.ts:474
↓ 8 callers
Function
_genericMathOp
({ ndFrame, other, operation }: { ndFrame: Series other: Series | number | Array<number> operation
src/danfojs-base/core/math.ops.ts:30
↓ 8 callers
Method
applyMap
(callable: any, options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:270
↓ 8 callers
Method
createNdframeFromNewDataWithOldProps
* Returns a new series with properties of the old series * * @param series The series to copy
src/danfojs-base/shared/utils.ts:762
↓ 8 callers
Method
getPlotConfig
(plotConfig?: PlotConfigObject)
src/danfojs-base/plotting/index.ts:45
↓ 8 callers
Method
iloc
* Purely integer-location based indexing for selection by position. * ``.iloc`` is primarily integer position based (from ``0`` to * ``length-
src/danfojs-base/core/frame.ts:380
↓ 8 callers
Method
isNa
()
src/danfojs-base/shared/types.ts:135
↓ 8 callers
Method
le
(other: Series | number | Array<number> | boolean[])
src/danfojs-base/shared/types.ts:159
↓ 8 callers
Method
maximum
(other: Series | number | Array<number>)
src/danfojs-base/shared/types.ts:130
↓ 8 callers
Method
median
()
src/danfojs-base/shared/types.ts:124
next →
1–100 of 561, ranked by callers