MCPcopy Index your code

hub / github.com/javascriptdata/danfojs / functions

Functions561 in github.com/javascriptdata/danfojs

↓ 8 callersMethodmonthName
()
src/danfojs-base/shared/types.ts:338
↓ 8 callersMethodnUnique
()
src/danfojs-base/shared/types.ts:150
↓ 8 callersMethodreplaceUndefinedWithNaN
* Replaces all missing values with NaN. Missing values are undefined, Null and Infinity * @param arr The array * @param isSeries Whether the
src/danfojs-base/shared/utils.ts:215
↓ 7 callersMethod$setColumnNames
(columns: string[])
src/danfojs-base/shared/types.ts:93
↓ 7 callersFunctioncheckIfColsExist
(ndframe: DataFrame | Series, cols: string[])
src/danfojs-base/plotting/plotly/utils.ts:19
↓ 7 callersFunctionconcat
* Concatenate pandas objects along a particular axis. * @param object * dfList: Array of DataFrame or Series * axis: axis of concatenation 1 or 0 * @r
src/danfojs-base/transformers/concat.ts:137
↓ 7 callersFunctiondateRange
(param: Params)
src/danfojs-base/core/daterange.ts:268
↓ 7 callersMethodtoLowerCase
(options?: { inplace?: boolean })
src/danfojs-base/core/strings.ts:46
↓ 7 callersMethodtoUpperCase
(options?: { inplace?: boolean })
src/danfojs-base/core/strings.ts:83
↓ 6 callersMethod$logicalOps
(tensors: typeof tensorflow.Tensor[], operation: string)
src/danfojs-base/core/frame.ts:273
↓ 6 callersMethodboolOps
* Internal function to perform boolean operations * @param other Other Series or number to compare with * @param bOps Name of operation to p
src/danfojs-base/core/series.ts:1446
↓ 6 callersMethoddropDuplicates
(options?: { keep?: "first" | "last", inplace?: boolean })
src/danfojs-base/shared/types.ts:169
↓ 6 callersMethodhours
()
src/danfojs-base/shared/types.ts:340
↓ 6 callersMethodinverseTransform
* Inverse transform values back to original values. * @param data 1d array of labels, Tensor, or Series to be decoded. * @example * ``
src/danfojs-base/transformers/encoders/label.encoder.ts:124
↓ 6 callersMethodloadArrayIntoNdframe
* Internal function to load array of data into NDFrame * @param data The array of data to load into NDFrame * @param index Array of numeric
src/danfojs-base/core/generic.ts:109
↓ 6 callersMethodminimum
(other: Series | number | Array<number>)
src/danfojs-base/shared/types.ts:131
↓ 6 callersMethodminutes
()
src/danfojs-base/shared/types.ts:342
↓ 6 callersMethodseconds
()
src/danfojs-base/shared/types.ts:341
↓ 6 callersMethodunique
()
src/danfojs-base/shared/types.ts:149
↓ 6 callersMethodvalues
()
src/danfojs-base/shared/types.ts:100
↓ 5 callersMethodargMax
()
src/danfojs-base/shared/types.ts:166
↓ 5 callersMethodargMin
()
src/danfojs-base/shared/types.ts:167
↓ 5 callersMethodgetRowAndColValues
* Retrieve row array and column names from an object of the form {a: [1,2,3,4], b: [30,20, 30, 20]} * @param obj The object to retrieve rows and
src/danfojs-base/shared/utils.ts:180
↓ 5 callersMethodisDate
* Checks if a value is a date object * @param value A date object * @returns boolean
src/danfojs-base/shared/utils.ts:115
↓ 5 callersMethodisObject
* Checks if value is an object. * @param value The value to check. * @returns
src/danfojs-base/shared/utils.ts:66
↓ 5 callersMethodkeyInObject
* Checks if object has the specified key * @param obj The object to check. * @param key The key to find.
src/danfojs-base/shared/utils.ts:145
↓ 5 callersMethodmapIntegersToBooleans
* Maps integer values (0, 1) to boolean (false, true) * @param arr The array of integers * @param dim The dimension of the array
src/danfojs-base/shared/utils.ts:559
↓ 5 callersMethodtoJSON
(options?: any)
src/danfojs-base/core/generic.ts:473
↓ 4 callersMethodargSort
(options?: { ascending: boolean })
src/danfojs-base/shared/types.ts:165
↓ 4 callersMethodbasic
* The basic methos perform the underneath operation of generating * the merge dataframe; using the combination keys generated from * bothe left
src/danfojs-base/transformers/merge.ts:237
↓ 4 callersMethodcapitalize
(options?: { inplace?: boolean })
src/danfojs-base/core/strings.ts:119
↓ 4 callersMethodcharAt
(index = 0, options?: { inplace?: boolean })
src/danfojs-base/core/strings.ts:160
↓ 4 callersMethodcopy
* Makes a deep copy of a DataFrame. * @example * ``` * const df = new DataFrame([[1, 2], [3, 4]], { columns: ['A', 'B']}) * const
src/danfojs-base/core/frame.ts:2020
↓ 4 callersMethodcumOps
(ops: string, axis: number, inplace: boolean)
src/danfojs-base/core/frame.ts:1724
↓ 4 callersMethodcumOps
* Internal helper function to calculate cumulative operations on series data
src/danfojs-base/core/series.ts:1251
↓ 4 callersMethoddate
()
src/danfojs-base/shared/types.ts:343
↓ 4 callersMethoddayOfWeekName
* Returns the name of the day, of the week, in local time * @example * ``` * import { Series } from "danfojs-node" * const data =
src/danfojs-base/core/datetime.ts:148
↓ 4 callersMethodfreqType
* @param date Date * @param ftype string: frequency type, month, Year, day etc * @param number
src/danfojs-base/core/daterange.ts:138
↓ 4 callersMethodgetGroup
* Obtain a specific group * @param keys Array<string | number> * @returns DataFrame
src/danfojs-base/aggregators/groupby.ts:524
↓ 4 callersMethodiloc
* Purely integer-location based indexing for selection by position. * ``.iloc`` is primarily integer position based (from ``0`` to * ``length-
src/danfojs-base/core/series.ts:104
↓ 4 callersMethodisNull
* Checks if a value is null * @param value The value to check. * @returns
src/danfojs-base/shared/utils.ts:75
↓ 4 callersFunctionmerge
(params: mergeParam)
src/danfojs-base/transformers/merge.ts:384
↓ 4 callersMethodthrowErrorOnWrongParams
* Throws error when a required parameter is missing. * @param paramsObject The parameters passed to the function * @param paramsNeeded The r
src/danfojs-base/shared/utils.ts:536
↓ 4 callersMethodtoDataFrame
* Takes in internal groupby internal data and convert * them to a single data frame. * @param colDict
src/danfojs-base/aggregators/groupby.ts:389
↓ 4 callersMethodtoString
()
src/danfojs-base/shared/types.ts:176
↓ 4 callersMethodtranspose
(options?: { inplace?: boolean })
src/danfojs-base/shared/types.ts:285
↓ 3 callersFunction$downloadFileInBrowser
(content: any, fileName: string)
src/danfojs-base/io/browser/io.json.ts:175
↓ 3 callersMethod$getData
(data: Array<string | number> | typeof tensorflow.Tensor | Series)
src/danfojs-base/transformers/encoders/label.encoder.ts:32
↓ 3 callersMethod$getTensor
(data: number[] | number[][] | typeof tensorflow.Tensor | DataFrame | Series)
src/danfojs-base/transformers/scalers/standard.scaler.ts:37
↓ 3 callersMethod$getTensor
(data: number[] | number[][] | typeof tensorflow.Tensor | DataFrame | Series)
src/danfojs-base/transformers/scalers/min.max.scaler.ts:37
↓ 3 callersMethod$resetIndex
()
src/danfojs-base/shared/types.ts:92
↓ 3 callersMethod$setColumnData
* Updates the internal column data via column name. * @param column The name of the column to update. * @param arr The new column data
src/danfojs-base/core/frame.ts:145
↓ 3 callersMethod$setDtypes
(dtypes: Array<string>, infer: boolean)
src/danfojs-base/shared/types.ts:90
↓ 3 callersMethod$setInternalColumnDataProperty
* Maps all column names to their corresponding data, and return them as Series objects. * This makes column subsetting works. E.g this can work =
src/danfojs-base/core/frame.ts:61
↓ 3 callersFunction$toCSV
(df: NDframe | DataFrame | Series, options?: CsvOutputOptionsNode)
src/danfojs-base/io/node/io.csv.ts:293
↓ 3 callersFunction_iloc
({ ndFrame, rows, columns }: { ndFrame: NDframeInterface rows?: Array<string | number | boolean> | Ser
src/danfojs-base/core/indexing.ts:27
↓ 3 callersFunction_loc
({ ndFrame, rows, columns }: { ndFrame: NDframeInterface rows?: Array<string | number | boolean> | Ser
src/danfojs-base/core/indexing.ts:212
↓ 3 callersMethodapply
* Apply custom aggregator function * to each group * @param callable * @returns DataFrame * @example * let grp = df.groupby(['A'])
src/danfojs-base/aggregators/groupby.ts:553
↓ 3 callersMethodarithemetic
* Perform all groupby arithmetic operations * In the previous implementation all groups data are * stord as DataFrame, which involve lot of mem
src/danfojs-base/aggregators/groupby.ts:231
↓ 3 callersMethodconvert2DArrayToSeriesArray
* Converts a 2D array of array to 1D array for Series Class * @param arr The array to convert.
src/danfojs-base/shared/utils.ts:199
↓ 3 callersMethodget
()
src/danfojs-base/core/frame.ts:65
↓ 3 callersMethodgroupMathLog
* Peform all arithmetic logic * @param colVal * @param ops
src/danfojs-base/aggregators/groupby.ts:296
↓ 3 callersMethodisNumber
* Checks if value is a number. * @param value The value to check. * @returns
src/danfojs-base/shared/utils.ts:57
↓ 3 callersMethodisString
* Check if value is a string. * @param value The value to check. * @returns
src/danfojs-base/shared/utils.ts:48
↓ 3 callersMethodoffsetCount
(dArray: number[], offset: number)
src/danfojs-base/core/daterange.ts:165
↓ 3 callersMethodremoveMissingValuesFromArray
* Remove NaN values from 1D array * @param arr
src/danfojs-base/shared/utils.ts:682
↓ 3 callersMethodsetDateProps
(date: Date, ftype: string, val: number[] | number)
src/danfojs-base/core/daterange.ts:173
↓ 3 callersMethodsort
* Sorts an array in specified order * @param arr * @param ascending * @returns
src/danfojs-base/shared/utils.ts:639
↓ 3 callersMethodtoCSV
(options?: any)
src/danfojs-base/core/generic.ts:449
↓ 3 callersMethodtoLocalString
(dArray: Date[])
src/danfojs-base/core/daterange.ts:205
↓ 3 callersMethodzeros
* Generates an array of dim (row x column) with inner values set to zero * @param row * @param column
src/danfojs-base/shared/utils.ts:601
↓ 2 callersFunction$downloadFileInBrowser
(content: any, fileName: string)
src/danfojs-base/io/browser/io.csv.ts:208
↓ 2 callersMethod$getData
(data: Array<string | number> | typeof tensorflow.Tensor | Series)
src/danfojs-base/transformers/encoders/one.hot.encoder.ts:38
↓ 2 callersMethod$getDataArraysByAxis
* Return data aligned to the specified axis. Transposes the array if needed. * @param axis 0 or 1. If 0, column-wise, if 1, row-wise
src/danfojs-base/core/frame.ts:206
↓ 2 callersMethod$typeChecker
* Private type checker used by inferDtype function * @param arr The array
src/danfojs-base/shared/utils.ts:277
↓ 2 callersMethodagg
* Perform aggregation on all groups * @param ops * @returns DataFrame
src/danfojs-base/aggregators/groupby.ts:536
↓ 2 callersMethodcolKeyDict
(colDict: { [key: string ]: {} })
src/danfojs-base/aggregators/groupby.ts:642
↓ 2 callersFunctionconvertFunctionTotransformer
(func: (df: DataFrame) => DataFrame)
src/danfojs-node/src/streams/csv.stream.transformer.ts:36
↓ 2 callersMethoddayOfWeek
()
src/danfojs-base/shared/types.ts:336
↓ 2 callersFunctiondummyEncode
* Generate one-hot encoding for categorical columns in an Array, Series or Dataframe. * @param data Series or Dataframe * @param columns Columns to
src/danfojs-base/transformers/encoders/dummy.encoder.ts:35
↓ 2 callersMethodfirst
* Obtain the first row of each group * @returns DataFrame
src/danfojs-base/aggregators/groupby.ts:616
↓ 2 callersMethodgenerateKeyCombination
* Generate key combination base on the columns we want to merge on * e.g df = { * key1: ["KO", "K0", "K3", "K4"], * Key2: ["K1", "K1", "K3
src/danfojs-base/transformers/merge.ts:93
↓ 2 callersMethodgetDuplicate
* Get duplicate values in a array * @param arr
src/danfojs-base/shared/utils.ts:709
↓ 2 callersMethodisBrowserEnv
* Checks if current environment is Browser
src/danfojs-base/shared/utils.ts:661
↓ 2 callersMethodisFunction
* Checks if a func is a function * @param func
src/danfojs-base/shared/utils.ts:498
↓ 2 callersMethodisUndefined
* Checks if a value is undefined * @param value The value to check. * @returns
src/danfojs-base/shared/utils.ts:84
↓ 2 callersMethodlast
* Obtain the last row of each group * @returns DataFrame
src/danfojs-base/aggregators/groupby.ts:626
↓ 2 callersMethodlastIndexOf
(str = "", options?: { inplace?: boolean })
src/danfojs-base/core/strings.ts:397
↓ 2 callersMethodlen
(options?: { inplace?: boolean })
src/danfojs-base/core/strings.ts:746
↓ 2 callersMethodloadObjectIntoNdframe
* Internal function to format and load a Javascript object or object of arrays into NDFrame. * @param data Object or object of arrays. * @pa
src/danfojs-base/core/generic.ts:134
↓ 2 callersMethodmonthEnd
(startDate: Date, endDate: Date)
src/danfojs-base/core/daterange.ts:212
↓ 2 callersMethodprocessData
* Processed the data values into internal structure for easy access * @param dateArray An array of date strings
src/danfojs-base/core/datetime.ts:40
↓ 2 callersMethodrange
* Generates an array of integers between specified range * @param start The starting number. * @param end The ending number.
src/danfojs-base/shared/utils.ts:124
↓ 2 callersMethodremoveElementFromArray
* Removes an element from a 1D array * * ```js * * ``` * @param arr The array to filter. * @param index The index to f
src/danfojs-base/shared/utils.ts:38
↓ 2 callersMethodrepeat
(num = 1, options?: { inplace?: boolean })
src/danfojs-base/core/strings.ts:469
↓ 2 callersMethodsearch
(str = "", options?: { inplace?: boolean })
src/danfojs-base/core/strings.ts:504
↓ 2 callersMethodshuffle
* Shuffles and returns a random slice of an array * @param num * @param array
src/danfojs-base/shared/utils.ts:618
↓ 2 callersMethodsize
()
src/danfojs-base/shared/types.ts:102
↓ 2 callersMethodsortObj
* Custom sort for an array of index and values * @param arr The array of objects to sort * @param ascending Whether to sort in ascending order
src/danfojs-base/shared/utils.ts:810
↓ 2 callersMethodsubstr
(startIndex = 0, num = 1, options?: { inplace?: boolean })
src/danfojs-base/core/strings.ts:608
← previousnext →101–200 of 561, ranked by callers