MCPcopy Create free account

hub / github.com/javascriptdata/danfojs / functions

Functions561 in github.com/javascriptdata/danfojs

Methodscatter
* Plot Series or DataFrame as scatter. * Uses Plotly library as backend, so supports Plotly's configuration parameters * @param plotConfig c
src/danfojs-base/plotting/index.ts:77
Methodscatter
(plotConfig?: PlotConfigObject)
src/danfojs-base/shared/types.ts:372
Methodseconds
* Returns the second of the day, in local time * @example * ``` * import { Series } from "danfojs-node" * const data = [ * "2
src/danfojs-base/core/datetime.ts:213
MethodselectDtypes
* Return a subset of the DataFrame based on the column dtypes. * @param include An array of dtypes or strings to be included. * @example
src/danfojs-base/core/frame.ts:2647
MethodsetDtypeTestLim
(val: number)
src/danfojs-base/shared/config.ts:78
MethodsetIndex
( options: { index?: Array<number | string | (number | string)>,
src/danfojs-base/core/frame.ts:2418
MethodsetIndex
(index: Array<number | string | (number | string)>, options?: { inplace?: boolean })
src/danfojs-base/core/series.ts:958
MethodsetIndex
( options: { index: Array<number | string | (number | string)>,
src/danfojs-base/shared/types.ts:238
MethodsetIsLowMemoryMode
(val: boolean)
src/danfojs-base/shared/config.ts:86
MethodsetMaxRow
(val: number)
src/danfojs-base/shared/config.ts:66
MethodsetTableDisplayConfig
(config: BaseUserConfig & TableUserConfig)
src/danfojs-base/shared/config.ts:50
MethodsetTableMaxColInConsole
(val: number)
src/danfojs-base/shared/config.ts:58
Methodshape
* Returns the shape of the NDFrame. Shape is determined by [row length, column length]
src/danfojs-base/core/generic.ts:344
Methodshape
()
src/danfojs-base/shared/types.ts:99
Methodsize
* Returns the size of the NDFrame object *
src/danfojs-base/core/generic.ts:425
Methodsize
* Obtains the dataframe se of each groups * @returns DataFrame
src/danfojs-base/aggregators/groupby.ts:636
MethodsortIndex
(options?: { inplace?: boolean ascending?: boolean } )
src/danfojs-base/core/frame.ts:3059
MethodsortValues
( column: string, options?: { ascending?: boolean
src/danfojs-base/core/frame.ts:2350
MethodsortValues
( column: string, options?: { inplace?: boolean as
src/danfojs-base/shared/types.ts:307
Methodstd
* Return standard deviation of values in a DataFrame across specified axis. * @param options.axis 0 or 1. If 0, compute the standard deviation co
src/danfojs-base/core/frame.ts:1020
Methodstd
(options?: { axis?: 0 | 1 })
src/danfojs-base/shared/types.ts:227
Methodstd
* Obtain the standard deviation of columns for each group * @returns DataFrame
src/danfojs-base/aggregators/groupby.ts:449
Methodstr
(element: any)
src/danfojs-base/core/frame.ts:226
Methodstr
* Exposes numerous string methods to manipulate Series of string dtype * @example * ``` * const sf = new Series(["a", "b", "c", "d", "e
src/danfojs-base/core/series.ts:1944
Methodstr
()
src/danfojs-base/shared/types.ts:171
Methodsub
(other: DataFrame | Series | number[] | number, options?: { axis?: 0 | 1, inplace?: boolean })
src/danfojs-base/core/frame.ts:646
Methodsub
(other: Series | number | Array<number>, options?: { inplace?: boolean })
src/danfojs-base/core/series.ts:303
Methodsub
(other: DataFrame | Series | number | number[], options?: { axis?: 0 | 1, inplace?: boolean })
src/danfojs-base/shared/types.ts:214
Functionsum
(x)
src/danfojs-browser/tests/core/frame.test.js:1549
Functionsum
(x: any)
src/danfojs-node/test/core/frame.test.ts:1559
Methodsum
* Return the sum of values across an axis. * @param options.axis 0 or 1. If 0, count column-wise, if 1, add row-wise. Defaults to 1 * @exam
src/danfojs-base/core/frame.ts:1339
Methodsum
* Return the sum of the values in a series. * @example * ``` * const sf = new Series([1, 2, 3, 4, 5, 6]); * console.log(sf.sum
src/danfojs-base/core/series.ts:581
Methodsum
(options?: { axis?: 0 | 1 })
src/danfojs-base/shared/types.ts:229
Methodsum
* Obtain the sum of columns for each group * @returns DataFrame *
src/danfojs-base/aggregators/groupby.ts:441
Methodtable
* Plot Series or DataFrame as table. * Uses Plotly library as backend, so supports Plotly's configuration parameters * @param plotConfig con
src/danfojs-base/plotting/index.ts:127
Methodtable
(plotConfig?: PlotConfigObject)
src/danfojs-base/shared/types.ts:377
Methodtail
* Returns the last n values in a DataFrame * @param rows The number of rows to return * @example * ``` * const df = new DataFr
src/danfojs-base/core/frame.ts:547
Methodtail
* Returns the last n values in a Series * @param rows The number of rows to return * @example * ``` * const sf = new Series([1
src/danfojs-base/core/series.ts:180
Methodtail
(rows?: number)
src/danfojs-base/shared/types.ts:211
Methodtensor
* Converts and returns the data in the NDframe as a Tensorflow.js Tensor.
src/danfojs-base/core/generic.ts:166
Methodtensor
()
src/danfojs-base/shared/types.ts:101
MethodtoCSV
(options?: CsvOutputOptionsNode)
src/danfojs-node/src/core/frame.ts:103
MethodtoExcel
* Converts a DataFrame or Series to Excel. * @deprecated Use `toExcel` function directly instead. * @example * ``` * import * as d
src/danfojs-base/core/generic.ts:500
MethodtoExcel
* Converts a DataFrame to Excel file format. * @param options Configuration object. Supported options: * - `sheetName`: The sheet name to b
src/danfojs-node/src/core/frame.ts:184
MethodtoJSON
(options?: JsonOutputOptionsNode)
src/danfojs-node/src/core/frame.ts:153
MethodtoString
* Prints DataFrame to console as a formatted grid of row and columns.
src/danfojs-base/core/frame.ts:425
MethodtoString
* Overrides default toString implementation. This essentially makes `print()` works.
src/danfojs-base/core/series.ts:1979
MethodtoString
()
src/danfojs-base/shared/types.ts:322
Functiontransformer
(df: DataFrame)
src/danfojs-node/test/transformers/csv.stream.transformer.test.ts:11
Methodtranspose
(options?: { inplace?: boolean })
src/danfojs-base/core/frame.ts:2687
Methodtruthy
(element: boolean)
src/danfojs-base/shared/utils.ts:546
Methodunique
* Returns a Series with only the unique value(s) in the original Series * @example * ``` * const sf = new Series([1, 2, 3, 4, 5, 6, 1,
src/danfojs-base/core/series.ts:1081
Methodunique
* Returns the unique values in an 1D array * @param arr The array
src/danfojs-base/shared/utils.ts:360
MethodvalueCounts
* Returns unique values and their counts in a Series * @example * ``` * const sf = new Series([1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6]);
src/danfojs-base/core/series.ts:1110
Methodvalues
* Returns the underlying data in Array format.
src/danfojs-base/core/generic.ts:362
Methodvar
* Return variance of values in a DataFrame across specified axis. * @param options.axis 0 or 1. If 0, compute the variance column-wise, if 1, add
src/danfojs-base/core/frame.ts:1055
Methodvar
(options?: { axis?: 0 | 1 })
src/danfojs-base/shared/types.ts:228
Methodvar
* Obtain the variance of columns for each group * @returns DataFrame
src/danfojs-base/aggregators/groupby.ts:457
Methodviolin
* Plot Series or DataFrame as violinplot. * Uses Plotly library as backend, so supports Plotly's configuration parameters * @param plotConfi
src/danfojs-base/plotting/index.ts:117
Methodviolin
(plotConfig?: PlotConfigObject)
src/danfojs-base/shared/types.ts:376
Methodyear
* Returns the year, in local time * @example * ``` * import { Series } from "danfojs-node" * const data = [ * "2019-01-01",
src/danfojs-base/core/datetime.ts:105
← previous501–561 of 561, ranked by callers