MCPcopy Index your code

hub / github.com/javascriptdata/danfojs / functions

Functions561 in github.com/javascriptdata/danfojs

↓ 145 callersMethodmap
( callable: mapParam, options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:142
↓ 101 callersMethod$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 callersMethodindexOf
(str = "", options?: { inplace?: boolean })
src/danfojs-base/core/strings.ts:362
↓ 80 callersMethodiloc
(rows: Array<string | number> | boolean[])
src/danfojs-base/shared/types.ts:113
↓ 66 callersMethodloc
(options: { rows?: Array<string | number>, columns?: Array<string> })
src/danfojs-base/shared/types.ts:200
↓ 51 callersMethodincludes
(str = "", options?: { inplace?: boolean })
src/danfojs-base/core/strings.ts:327
↓ 45 callersMethodisEmpty
* 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 callersMethodgroupby
(col: Array<string>)
src/danfojs-base/shared/types.ts:259
↓ 43 callersMethodadd
(other: Series | number | Array<number>, options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:117
↓ 42 callersMethodjoin
(valToJoin = "", joinChar = " ", options?: { inplace?: boolean })
src/danfojs-base/core/strings.ts:710
↓ 41 callersMethodprint
()
src/danfojs-base/shared/types.ts:103
↓ 41 callersMethodreplace
(oldValue: string | number | boolean, newValue: string | number | boolean, options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:163
↓ 40 callersMethodsortValues
(options?: { ascending?: boolean, inplace?: boolean })
src/danfojs-base/shared/types.ts:137
↓ 37 callersMethodtransform
* 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 callersMethodfit
* 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 callersMethodinferDtype
* 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 callersMethodmean
()
src/danfojs-base/shared/types.ts:123
↓ 27 callersMethoddrop
( options: { columns?: string | Array<string>, index?: Arr
src/danfojs-base/shared/types.ts:192
↓ 26 callersMethodand
(other: any)
src/danfojs-base/shared/types.ts:177
↓ 26 callersMethodappend
(values: string | number | boolean | Series | ArrayType1D, index: Array<number | string> | number | st
src/danfojs-base/shared/types.ts:173
↓ 26 callersMethodat
(index: string | number)
src/danfojs-base/shared/types.ts:185
↓ 26 callersMethodround
(dp: number, options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:132
↓ 26 callersMethodsetIndex
(index: Array<number | string | (number | string)>, options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:141
↓ 25 callersMethodcopy
()
src/danfojs-base/shared/types.ts:138
↓ 25 callersMethodstartsWith
(str = "", options?: { inplace?: boolean })
src/danfojs-base/core/strings.ts:257
↓ 25 callersMethodsub
(other: Series | number | Array<number>, options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:118
↓ 24 callersMethoddiv
(other: Series | number | Array<number>, options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:120
↓ 24 callersMethodiat
(index: number)
src/danfojs-base/shared/types.ts:184
↓ 24 callersMethodsum
()
src/danfojs-base/shared/types.ts:128
↓ 23 callersMethod$frameIsNotCompactibleForArithmeticOperation
()
src/danfojs-base/core/frame.ts:224
↓ 23 callersMethodtransposeArray
* 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 callersMethod$setIndex
(index: Array<string | number>)
src/danfojs-base/shared/types.ts:91
↓ 22 callersMethodasType
(dtype: "float32" | "int32" | "string" | "boolean", options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:170
↓ 22 callersMethodlt
(other: Series | number | Array<number> | boolean[])
src/danfojs-base/shared/types.ts:157
↓ 22 callersFunctionthrowErrorOnWrongColName
(ndframe: DataFrame, colName: string)
src/danfojs-base/plotting/plotly/utils.ts:28
↓ 21 callersMethodaddColumn
( column: string, values: Series | ArrayType1D, options?: { inplace?: bool
src/danfojs-base/shared/types.ts:251
↓ 21 callersMethodcount
()
src/danfojs-base/shared/types.ts:129
↓ 21 callersMethodmul
(other: Series | number | Array<number>, options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:119
↓ 21 callersMethodslice
(startIndex = 0, endIndex = 1, options?: { inplace?: boolean })
src/danfojs-base/core/strings.ts:540
↓ 20 callersMethodcol
* 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 callersMethodfillNa
(value: number | string | boolean, options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:136
↓ 20 callersMethodgetDummies
(options?: { prefix?: string | Array<string>, prefixSeparator?: string | Array<string>,
src/danfojs-base/shared/types.ts:179
↓ 20 callersMethodsample
(num: number, options?: { seed?: number })
src/danfojs-base/shared/types.ts:116
↓ 19 callersMethodtail
(rows: number)
src/danfojs-base/shared/types.ts:115
↓ 18 callersMethoddiff
(other: DataFrame | Series | number[] | number, options?: { axis?: 0 | 1, inplace?: boolean })
src/danfojs-base/shared/types.ts:221
↓ 18 callersMethoddropNa
(options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:164
↓ 18 callersMethodge
(other: Series | number | Array<number> | boolean[])
src/danfojs-base/shared/types.ts:160
↓ 18 callersMethodgt
(other: Series | number | Array<number> | boolean[])
src/danfojs-base/shared/types.ts:158
↓ 18 callersMethodpctChange
(other: DataFrame | Series | number[] | number, options?: { axis?: 0 | 1, inplace?: boolean })
src/danfojs-base/shared/types.ts:220
↓ 17 callersMethodmin
()
src/danfojs-base/shared/types.ts:126
↓ 17 callersMethodmod
(other: Series | number | Array<number>, options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:122
↓ 16 callersMethodconcat
(other: Array<string> | string, position = 1, options?: { inplace?: boolean })
src/danfojs-base/core/strings.ts:196
↓ 15 callersMethod$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 callersMethodhead
(rows: number)
src/danfojs-base/shared/types.ts:114
↓ 15 callersMethodmax
()
src/danfojs-base/shared/types.ts:127
↓ 14 callersMethodcumMax
(options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:155
↓ 14 callersMethodcumSum
(options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:153
↓ 14 callersMethodendsWith
(str = "", options?: { inplace?: boolean })
src/danfojs-base/core/strings.ts:292
↓ 14 callersMethodeq
(other: Series | number | Array<number> | boolean[])
src/danfojs-base/shared/types.ts:162
↓ 14 callersMethodquery
(condition: Series | Array<boolean>, options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:250
↓ 14 callersMethodrename
( mapper: object, options?: { axis?: 0 | 1 inplace?: boolean }
src/danfojs-base/shared/types.ts:294
↓ 12 callersMethod$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 callersMethodapply
( callable: (value: any) => any, options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:146
↓ 12 callersMethodcumMin
(options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:154
↓ 12 callersMethodcumProd
(options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:156
↓ 12 callersMethodmode
()
src/danfojs-base/shared/types.ts:125
↓ 12 callersMethodmonth
()
src/danfojs-base/shared/types.ts:335
↓ 12 callersFunctiontoDateTime
(data: Series | ArrayType1D)
src/danfojs-base/core/datetime.ts:263
↓ 12 callersMethodvalueCounts
()
src/danfojs-base/shared/types.ts:151
↓ 11 callersMethod$MathOps
(tensors: typeof tensorflow.Tensor[], operation: string, inplace: boolean)
src/danfojs-base/core/frame.ts:309
↓ 11 callersMethod$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 callersMethodcopy
* 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 callersMethodoperations
(ops: string)
src/danfojs-base/aggregators/groupby.ts:415
↓ 11 callersMethodrange
()
src/danfojs-base/core/daterange.ts:59
↓ 11 callersMethodsortIndex
(options?: { inplace?: boolean ascending?: boolean } )
src/danfojs-base/shared/types.ts:301
↓ 10 callersMethodabs
(options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:152
↓ 10 callersMethoddayOfMonth
()
src/danfojs-base/shared/types.ts:339
↓ 10 callersMethoddescribe
()
src/danfojs-base/shared/types.ts:139
↓ 10 callersMethodfitTransform
* 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 callersMethodne
(other: Series | number | Array<number> | boolean[])
src/danfojs-base/shared/types.ts:161
↓ 10 callersMethodpow
(other: Series | number | Array<number>, options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:121
↓ 10 callersMethodresetIndex
(options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:140
↓ 10 callersMethodselectDtypes
(include: Array<string>)
src/danfojs-base/shared/types.ts:248
↓ 10 callersMethodstd
()
src/danfojs-base/shared/types.ts:133
↓ 10 callersMethodvar
()
src/danfojs-base/shared/types.ts:134
↓ 10 callersMethodyear
()
src/danfojs-base/shared/types.ts:337
↓ 9 callersMethodcolumn
(column: string)
src/danfojs-base/shared/types.ts:260
↓ 9 callersMethodis1DArray
* Checks if array is 1D * @param arr The array
src/danfojs-base/shared/utils.ts:369
↓ 9 callersMethodor
(other: any)
src/danfojs-base/shared/types.ts:178
↓ 9 callersMethodsplit
(splitVal = " ", options?: { inplace?: boolean })
src/danfojs-base/core/strings.ts:574
↓ 8 callersMethod$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 callersFunction_genericMathOp
({ ndFrame, other, operation }: { ndFrame: Series other: Series | number | Array<number> operation
src/danfojs-base/core/math.ops.ts:30
↓ 8 callersMethodapplyMap
(callable: any, options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:270
↓ 8 callersMethodcreateNdframeFromNewDataWithOldProps
* Returns a new series with properties of the old series * * @param series The series to copy
src/danfojs-base/shared/utils.ts:762
↓ 8 callersMethodgetPlotConfig
(plotConfig?: PlotConfigObject)
src/danfojs-base/plotting/index.ts:45
↓ 8 callersMethodiloc
* 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 callersMethodisNa
()
src/danfojs-base/shared/types.ts:135
↓ 8 callersMethodle
(other: Series | number | Array<number> | boolean[])
src/danfojs-base/shared/types.ts:159
↓ 8 callersMethodmaximum
(other: Series | number | Array<number>)
src/danfojs-base/shared/types.ts:130
↓ 8 callersMethodmedian
()
src/danfojs-base/shared/types.ts:124
next →1–100 of 561, ranked by callers