All References#
Return the element-by-element absolute value(s) of X. |
|
The accumulate template applies func to init and X for accumulating iteration (i.e. the result of an iteration is passed forward to the next). |
|
Calculate the autocorrelation of X from lag=1 to lag=maxLag. |
|
The inverse cosine function. |
|
The inverse hyperbolic cosine function. |
|
Fit an AdaBoost classification model. |
|
Fit an AdaBoost regression model. |
|
Return the element-by-element sum of X and Y. |
|
Add a column or columns to a table. |
|
Append new values to the partition scheme of a database. |
|
Append new values to the partition scheme of a database. |
|
Dynamically add volume(s) without rebooting the cluster. |
|
Perform Augmented Dickey-Fuller unit root test. |
|
After sorting funcArgs based on sortingCol, aggrTopN applies func to the first top elements in funcArgs. |
|
The asof join function is used in non-synchronous join. |
|
Align the left and right matrices based on row labels and/or column labels (specified by byRow) using the join method specified by how. |
|
Return 0 if at least one element of X is false or 0; return 1 otherwise. |
|
Return the element-by-element logical X AND Y. |
|
Conduct one-way analysis of variance (ANOVA). |
|
Return 1 if there is at least one element in X that is true or not 0. |
|
Append newData to obj. |
|
Append Y to X. |
|
Return a vector. |
|
Convert value into an array vector by spliting it based on the elements in index. |
|
Convert X to specified frequency. |
|
The inverse sine (arcsine) function. |
|
The inverse hyperbolic sine function. |
|
Return a reference of obj. |
|
For each element y in Y, return the index of the last element in X that is no greater than y. |
|
Retrieves elements or positions from a data structure based on specified indices, Boolean conditions, or ranges, and can also apply arguments to functions. |
|
Find the position of the element with the largest value in location, and return the value of the element in the same position in value. |
|
Find the position of the element with the smallest value in location, and return the value of the element in the same position in value. |
|
The inverse tangent (arctan) function. |
|
The inverse hyperbolic tangent function. |
|
Calculate the autocorrelation of X. |
|
Calculate the average of X. |
|
Back up all or specified partitions of a distributed table. |
|
Back up the specific database to the specified directory. |
|
Back up all settings on users, permissions, and function views to specified directory. |
|
Back up a table to the specified directory. |
|
bar can group X based on the length specified by interval. |
|
Decode X from Base64 format to binary data. |
|
Encode X to Base64 format. |
|
Return the coefficient estimate of an ordinary-least-squares regression of Y on X (with intercept). |
|
Check if each element of X is between the pair indicated by Y (both boundaries are inclusive). |
|
Big arrays are specially designed for advanced users in big data analysis. |
|
Connect X and Y with the binary operator specified in optr to generate metacode of a binary expression. |
|
binsrch means binary search. |
|
Return the result of the bitAnd operation. |
|
Return the result of the bitOr operation. |
|
Return the result of the bitXOr operation. |
|
Convert the data type of X to BLOB. |
|
Returns the accrued interest of a security. |
|
Calculates the cash flow for a bond with a face value of 100. |
|
Returns the bond convexity of a bond with a face value of 100. |
|
Returns the dirty price of a bond with a face value of 100. |
|
Returns the Macaulay duration for an assumed par value of 100. |
|
Calculate the bond yield for each 100 face value of a bond based on its clean price or dirty price. |
|
Convert the input to a Boolean value. |
|
Find a root x0 of a function f in a bracketing interval [a, b] using Brent's method. |
|
Minimize a function over a given range by brute force. |
|
Return a vector with the same length as the input vector. |
|
Accept the same set of parameters as the function bucket and return the count for each bucket. |
|
If X is a business day (Monday to Friday), return date(X). |
|
Return the first business day (Monday to Friday) of the month that X belongs to. |
|
Return the last business day (Monday to Friday) of the month that X belongs to. |
|
Return the first business day (Monday to Friday) of the quarter that X belongs to. |
|
Return the last day of the quarter that X belongs to. |
|
Return the first business day (Monday to Friday) of the year that X belongs to and that starts in the month of startingMonth. |
|
Return the last business day (Monday to Friday) of the year that X belongs to and that ends in the month of endingMonth. |
|
If func is a unary function, apply the specified function to each column of X; if func is a binary function, apply func(Xi, Yi) to each column of X and Y. |
|
If func is a unary function, apply the specified function to each row of X; if func is a binary function, apply func(Xi, Yi) to each row of X and Y. |
|
Instruct the system to cache the data source when it is executed next time. |
|
Immediately execute and cache the data source. |
|
Call a function with the specified parameters. |
|
Convert a data type to another; reshape a matrix, or convert between matrices and vectors. |
|
Return the square root of X. |
|
Return the value of the cumulative distribution function of a beta distribution. |
|
Return the value of the cumulative distribution function of a binomial distribution. |
|
Return the value of the cumulative distribution function of a chi-squared distribution. |
|
Return the value of the cumulative distribution function of an exponential distribution. |
|
Return the value of the cumulative distribution function of an F distribution. |
|
Return the value of the cumulative distribution function of a gamma distribution. |
|
Return the value of the cumulative distribution function of a Kolmogorov distribution. |
|
Return the value of the cumulative distribution function of a logistic distribution. |
|
Return the value of the cumulative distribution function of a normal distribution. |
|
Return the value of the cumulative distribution function of a Poisson distribution. |
|
Return the value of the cumulative distribution function of a Student's t-distribution. |
|
Return the value of the cumulative distribution function of a continuous uniform distribution. |
|
Return the value of the cumulative distribution function of a Weibull distribution. |
|
Return the value of the cumulative distribution function of a Zipfian distribution. |
|
Value a Credit Default Swap (CDS) contract. |
|
Functions floor and ceil map a real number to the largest previous and the smallest following integer, respectively. |
|
Return a scalar that is the value of the specified cell: obj[row, col]. |
|
Return a vector of cells in a matrix by the specified row and column index. |
|
Convert the input to the data type of CHAR. |
|
Return the character in X at the position specified by Y. |
|
Check the data integrity of the backup files. |
|
If X is a vector, conduct a Chi-squared goodness of fit test whether X and Y follow the same distribution. |
|
Conduct Cholesky decomposition of a symmetric positive-definite matrix. |
|
Perform a cross join between two tables and returns their Cartesian product. |
|
Clear the contents of X. |
|
Clear the following cached data: the data of dimension table stored in memory the data of OLAP DFS tables that has been loaded into memory the cached level file index of TSDB engine the cached SYMBOL base of TSDB engine the intermediate results of the map-reduce tasks in distributed computing |
|
Clear the latest value table cache. |
|
Clear the static table cache. |
|
Clear all cached SYMBOL base entries that are absent from both the cache engine and ongoing transactions. |
|
Instruct the system to clear the cache after the next time the data source is executed. |
|
Immediately clear the data source and cache. |
|
Clips X to specified range. |
|
Clips X to specified range. |
|
The function fills null values in X1 and returns a scalar or vector of the same dimension as X1. |
|
Count the number of occurrences of two events within the specified intervals. |
|
Test for no-cointegration of a univariate equation. |
|
Return one or more columns of a vector/matrix/table. |
|
Return the total number of columns in X. |
|
Return the column names of X as a vector. |
|
Create a complex number X+Y*i. |
|
Compress a vector or a table with the specified compression algorithm. |
|
If X is a STRING/CHAR scalar |
|
Combine date and time into one new variable. |
|
Concatenate the matrices vertically or horizontally. |
|
Calculate Conditional Value at Risk (CVaR), or expected shortfall (ES) to estimate the average losses incurred beyond the VaR level. |
|
Return true if both of the following conditions are satisfied, otherwise return false. |
|
Supposing the iteration is based only on the previous result, for the k-th (k ∈ N+) record, the calculation logic is (where the column "factor" holds the results): |
|
This function provides a description of an object. |
|
Count the number of positions that are not null in both X and Y. |
|
Get of positions that are not null in both X and Y, and calculate the sum of the elements in X on these positions. |
|
Get of positions that are not null in both X and Y, and calculate the sum of squares of the elements in X on these positions. |
|
Calculate func(funcArgs) for each groupingCol group. |
|
Change the encoding of strings. |
|
Convert Excel formula to DolphinDB expressions. |
|
Convert obj from time zone srcTZ to time zone destTZ. |
|
Returns a shallow copy of obj. |
|
Calculate the correlation of X and Y. |
|
Return a correlation matrix, where the (i, j) entry is the correlation between the columns i and j of X. |
|
Apply the function of cos to X. |
|
The hyperbolic cosine function. |
|
size returns the number of elements in a vector or matrix, while count returns the number of non-null elements in a vector/matrix. |
|
An aggregate function that counts the number of NaN values and Inf values in X. |
|
Calculate the covariance of X and Y. |
|
Return a covariance matrix, where the (i, j) entry is the covariance between the columns i and j of X. |
|
Create a CRC32 hash from STRING. |
|
Apply func to the permutation of all individual elements of X and Y and return a matrix. |
|
Return a tuple with the following elements: count(X), sum(X), sum(Y), sum2(X), sum2(Y), sum(X*Y). |
|
Cubic spline data interpolator. |
|
Predict the corresponding y for x with the given model. |
|
Cumulatively calculate the sum of consecutive positive elements of X after the last non-positive element to the left. |
|
Calculate the cumulative average of X. |
|
Cumulatively calculate the coefficient estimate of the regression of Y on X. |
|
Cumulatively calculate the correlation of X and Y. |
|
Cumulatively calculate the number of non-null elements in X. |
|
Cumulatively calculate the covariance of X and Y. |
|
If X is a vector: |
|
If X is a vector: |
|
Cumulatively calculate the maximum values in X. |
|
Cumulatively calculate the maximum drawdown for the input X. |
|
Calculate the cumulative median of X. |
|
Cumulatively calculate the minimum values in X. |
|
Return the cumulative count of unique elements in X. |
|
If X is a vector, cumulatively calculate the given percentile of a vector. |
|
Cumulatively calculate the product of the elements in X. |
|
If X is a vector, for each element in X, return the position ranking from the first element to the current element. |
|
Cumulatively calculate the standard deviation of X. |
|
Cumulatively calculate the population standard deviation of X. |
|
Cumulatively calculate the sum of the elements in X. |
|
Cumulatively calculate the sum of squares of the elements in X. |
|
Cumulatively calculate the cubes of squares of the elements in X. |
|
Cumulatively calculate the fourth powers of the elements in X. |
|
Cumulatively calculate the variance of X. |
|
Cumulatively calculate the population variance of X. |
|
Calculate the cumulative weighted average of X with Y as the weights. |
|
Calculate the cumulative weighted sum of X with Y as the weights. |
|
This function divides X based on the specified size or cutPositions. |
|
Return a vector with (binNum+1) elements such that the elements of X are evenly distributed within each of the binNum buckets indicated by the vector. |
|
Determine windows based on the starting time (specified by timeOffset), window length (specified by n), and possibly ending time (specified by timeEnd). |
|
Convert X into DATE type. |
|
Convert X into DATEHOUR data type. |
|
Convert X into DATETIME type. |
|
Return the day of the month for each element in X. |
|
Return which day of the week is X. |
|
Return the day of the year for each element in X. |
|
Return the number of days in the month for each element in X. |
|
Convert the input values into DECIMAL128. |
|
Convert the input values into DECIMAL32 type. |
|
Convert the input values into DECIMAL64. |
|
Apply a specified format to the given object. |
|
The function multiplies Decimals. |
|
Decode the DNA sequences which have been encoded with encodeShortGenomeSeg. |
|
Decompress a compressed vector or a table. |
|
Returns a deep copy of obj. |
|
Return a scalar/vector indicating whether each element of names is defined. |
|
If X is not specified, return all functions in the system as a table. |
|
Convert angle units from degrees to radians for each element of X. |
|
For each element Xi in X, return Xi-Xi-n, representing the differences between elements. |
|
Calculate the Double Exponential Moving Average (dema) for X in a sliding window of the given length. |
|
Center a dataset (zero-centering), and return an object of DOUBLE type with the same dimension as X. |
|
If X is a vector: |
|
Return the derivative of func of order n at X. |
|
Return the determinant of matrix X. |
|
If X is a vector, return a diagonal matrix. |
|
Return a dictionary object. |
|
Update a dictionary for specified keys with the specified function. |
|
Return the last element minus the first element of a vector. |
|
Use the Differential Evolution algorithm to calculate the global minimum of a function with multiple variables. |
|
Return the indices of the bins to which each value in x belongs. |
|
Cancel the connection between the active database and the historical database. |
|
Data written to the TSDB cache engine are sorted by sortColumns. |
|
Calculate the distance in meters between 2 points on the earth's surface. |
|
Return the distinct elements from X. |
|
Return element-by-element division of X by Y. |
|
Resample X based on the specified resampleRule, closed and origin. |
|
Return the matrix multiplication of X and Y. |
|
Convert the input to the data type of DOUBLE. |
|
If X is a vector, delete the first n or last n (if n is negative) elements. |
|
Delete one or multiple columns from a table. |
|
Delete data from one or multiple partitions from a DFS database. |
|
If X is a vector, delete all null values from X. |
|
Convert X to DURATION type which indicates the length of a time interval. |
|
The attribute and category of an event are fixed in most cases. |
|
The attribute and category of an event are fixed in most cases. |
|
Apply a function (specified by func or operator) to each element of args / X / Y. |
|
If index is a Boolean expression, returns the elements in X that satisfy the condition specified by index (i.e., index = true). |
|
Calculate func(X(i),Y) for each element of X. |
|
Apply func over all pairs of consecutive elements of the object. |
|
Apply func over all pairs of consecutive elements of X. |
|
Calculate func(X, Y(i)) for each element of Y. |
|
Calculate the eigenvalues and eigenvectors of A. |
|
Return only the rows that have equivalent values for the matching columns. |
|
Implement linear regression with elastic net penalty (combined L1 and L2 priors as regularizer). |
|
Implement linear regression with elastic net penalty using 5-fold cross-validation and return a model corresponding to the optimal parameters. |
|
Calculate the Exponential Moving Average (ema) for X in a count-based sliding window of the given length. |
|
Establish a connection between the active database and the historical database. |
|
Data written to the TSDB cache engine are sorted by sortColumns. |
|
Encode DNA sequences made up of A, T, C, G letters. |
|
Check if X ends with str. |
|
If X is a scalar, returns a vector. |
|
If neither X nor Y is a set, return the element-by-element comparison of X and Y. |
|
Return the element-by-element comparison of X and Y with the given precision. |
|
Check if the data types and values of two objects are identical. |
|
Check element-wise equality of two inputs X and Y are equal within the specified toleranceLevel. |
|
Eliminate elements from a set, or members from a dictionary, or rows from a table. |
|
Conduct anomaly detection with the Extreme Studentized Deviate test (ESD). |
|
If X and Y are scalars or vectors, return the result of their Euclidean distance. |
|
Evaluate the given metacode. |
|
Calculate exponentially weighted moving correlation of X and other. |
|
Calculate exponentially weighted moving covariance of X and other. |
|
Calculate exponentially weighted moving average. |
|
Calculate exponentially weighted moving standard deviation. |
|
Calculate exponentially weighted moving variance. |
|
Check if the specified file(s) or folder(s) exist. |
|
Apply the exponential function to all elements of X. |
|
Return 2 raised to the power of X. |
|
Return exp(X)-1. |
|
Generate metacode from args. |
|
Generate the schema table for the input data file. |
|
Return an X by X indentity matrix. |
|
Conduct an F-test to compare the variances of two samples. |
|
If obj is a vector, forward fill the null values in obj with the previous non-null value. |
|
If obj is a vector, forward fill the null values in obj with the previous non-null value. |
|
Assign value to the elements of obj at index. |
|
If X is a vector: for each element of Y, return the position of its first occurrence in vector X. |
|
Return the first element of a vector, or the first row of a matrix or table. |
|
Return the first element in X that satisfies the condition X func target (e.g. X>5). |
|
If X is a vector: |
|
Concatenate vectors, matrices, and tables. |
|
Return all rows from equi join together with rows that are not matched from either the left table or the right table. |
|
Convert X into a 1D vector. |
|
Alias for transpose, used to transpose X: |
|
The floor and ceil functions map a real number to the largest previous and the smallest following integer, respectively. |
|
Flush the data of completed transactions cached in the OLAP cache engine to the database. |
|
Forcibly flush the completed transactions cached in the TSDB cache engine to the database. |
|
Use a Nelder-Mead simplex algorithm to find the minimum of function of one or more variables. |
|
Minimize a function using the BFGS algorithm. |
|
Minimize a function func using the L-BFGS-B algorithm. |
|
Perform unconstrained minimization of a function using the Newton-CG method. |
|
Minimize a function using Sequential Least Squares Programming. |
|
Generate the data form ID of a variable or a constant. |
|
Apply a specified format to the given object. |
|
Converta a JSON string that complies with DolphinDB specification to a DolphinDB variable. |
|
Convert X to a DolphinDB variable. |
|
Convert the encoding of strings from UTF-8. |
|
Dynamically execute an operator or a function. |
|
Using the 52-53 weeks in a fiscal year (4-4-5 calendar), it returns the start date of fiscal year which includes X. |
|
Using the 52-53 week in fiscal year (4-4-5 calendar), this function returns the start date of fiscal year which includes X. |
|
Use the generalized autoregressive conditional heteroskedasticity (GARCH) model to model the conditional volatility of univariate time series. |
|
Estimate the probability density of the random variable using the Gaussian kernel from kernel density estimation (KDE). |
|
Predict the probability density of the input data based on the model generated by gaussianKde. |
|
Conduct the Naive Bayesian classification. |
|
If neither X nor Y is a set, return the element-by-element comparison of X>=Y. |
|
Calculate the Exponential Moving Average (ema) for X in a sliding window of the given length. |
|
This function slides a window of fixed size (based on the number of characters) over the input DNA sequence. |
|
This function performs calculation with count-based sliding windows iteratively. |
|
This function performs calculation with time-based windows iteratively. |
|
Return a table with information about the backups of a DFS table. |
|
Return a dictionary with information about the backup of a partition in a DFS table, which contains the following keys: |
|
Get the status of backup/restore tasks. |
|
Return the paths of the chunks that the given data sources represent. |
|
Return metadata of specified database chunks on the local datanode. |
|
Obtain the memory usage of the indexes of all level files. |
|
Return the expiration date of the license on the current node. |
|
Return the allocated memory and the unused memory. |
|
Get the status of the OLAP cache engine on the current node. |
|
Obtain the cache size (in Bytes) of SYMBOL base (i.e., a dictionary that stores integers encoded from the data of SYMBOL type) of the OLAP engine. |
|
Obtain the status of PKEY level file compaction tasks, including all pending tasks and completed tasks.The optional count limits the number of completed tasks returned. |
|
Obtain the metadata of all chunks in the PKEY engine. |
|
Get the status of recovery tasks. |
|
Obtain the cache size (in Bytes) of SYMBOL base (i.e., a dictionary that stores integers encoded from the data of SYMBOL type) of the TSDB engine. |
|
Obtain the status of TSDB level file compaction tasks. |
|
Get the number of level files and sort key entries of specified chunks on the current node. |
|
Obtain the metadata of all chunks in the TSDB engine. |
|
When querying a TSDB table, the indexes (including zonemap) of related level files will be loaded to the memory. |
|
Return a table or a list of tables corresponding to the specified partition or partitions. |
|
Return metadata of specified tablet chunks on the local node. |
|
Fit a generalized linear model. |
|
Train the Gaussian Mixture Model (GMM) with the given data set. |
|
Convert X from local time zone to GMT (Greenwich Mean Time). |
|
Calculate the Gram matrix of the selected columns in the given table. |
|
This function converts a matrix of full column rank into an orthogonal matrix. |
|
For each group, calculate func(funcArgs) and return a scalar/vector/dictionary. |
|
For each unique value in X, return the indices of all elements that hold the value. |
|
If neither X nor Y is a set, return the element-by-element comparison of X>Y. |
|
For a scalar, return true if it is null. |
|
Hashes each element in X into one of the specified number of buckets and returns the corresponding bucket index. |
|
Return the first n element(s) of a vector, or the first n columns of a matrix, or the first n rows of a table. |
|
Convert data of INTEGRAL, FLOAT, COMPLEX, and BINARY types to hexadecimal and return a string. |
|
It returns the high-order 8-byte double data of X. |
|
It returns the high-order 8-byte long integer data of X. |
|
Compute the bi-dimensional histogram of two data samples. |
|
Return the corresponding hour(s). |
|
For each element in X, return a number from 0 to 23 indicating which hour of the day it falls in. |
|
Determine whether X is null. |
|
Determine whether X is valid. |
|
Return the index of the first element in X that satisfies the condition X func target (e.g. X>5). |
|
If X is a vector, return the subscript of the first non-null element. |
|
Performs an element-wise conditional operation, evaluating each element of the condition. |
|
If X is a vector, return the subscript of the last non-null element. |
|
Return a Boolean value scalar or vector indicating whether each element in X fits a specific pattern. |
|
If X is a vector, return the position of the element with the largest value in X. |
|
If X is a vector, return the position of the element with the largest value. |
|
If X is a vector, return the position of the minimum value in a vector or a matrix. |
|
If X is a vector, return the position of the element with the smallest value. |
|
DolphinDB offers function imr for iterative computing based on the map-reduce methodology. |
|
If Y is a scalar: |
|
indexedSeries supports alignment operations for panel data. |
|
Create an indexed table, which is a special type of in-memory table with primary key. |
|
The function returns an object of the same type/form as X. |
|
Convert X to the data type of INT. |
|
Convert STRING into INT128 data type. |
|
Return the integral of func from start to end. |
|
Fills in null values in a numeric vector using interpolation. |
|
If both X and Y are sets, return the intersection of the two sets. |
|
In SQL queries, group data into continuous intervals with the length of duration. |
|
Return the value of a beta inverse cumulative distribution function. |
|
Return the value of a binomial inverse cumulative distribution function. |
|
Return the value of a chi-squared inverse cumulative distribution function. |
|
Return the value of an exponential inverse cumulative distribution function. |
|
Return the value of an F inverse cumulative distribution function. |
|
Return the value of a gamma inverse cumulative distribution function. |
|
Return the value of a logistic inverse cumulative distribution function. |
|
Return the value of a normal inverse cumulative distribution function. |
|
Return the value of a Poisson inverse cumulative distribution function. |
|
Return the value of a Student's t inverse cumulative distribution function. |
|
Return the value of an uniform inverse cumulative distribution function. |
|
Return the value of a Weibull inverse cumulative distribution function. |
|
Return the inverse matrix of X if it is invertible. |
|
Convert STRING into IPADDR (IP address) data type. |
|
The irs function prices an interest rate swap (IRS) for the floating-rate side. |
|
Return "true" if all characters in string X are alphanumeric (either alphabets or numbers). |
|
Return "true" if all characters in the string are alphabets. |
|
Return "true" if all characters in the string are numbers. |
|
Return a vector or a tuple of vectors of Boolean values. |
|
Determine if X is an indexed matrix. |
|
Determine if X is an indexed series. |
|
Determine if each element in X is in a leap year. |
|
Check whether all the case-based characters (letters) of the string are lowercase. |
|
Alias for isMonotonicIncreasing. |
|
Check whether the elements in X are monotonically decreasing. |
|
Check whether the elements in X are monotonically increasing. |
|
Determine if each element in X is the last day of a month. |
|
Determine if each element in X is the first day of a month. |
|
Check each element in X to see if it is a NaN/Inf value. |
|
"Nothing" is one of the two objects in VOID type. |
|
Return true if an element is null. |
|
Return true if all characters in the string are numbers. |
|
The function returns "true" if X is an ordered dictionary. |
|
If X is a vector, check if each element in X is the peak. |
|
Determine if each element in X is the last day of a quarter. |
|
Determine if each element in X is the first day of a quarter. |
|
Check whether a vector is sorted or not. |
|
Check whether the string X consists of only space. |
|
Check if X is a titlecased string, which has the first character in each word uppercase and the remaining all characters lowercase alphabets. |
|
Check whether all the case-based characters (letters) of the string are uppercase. |
|
Determine if each element of X is null. |
|
If X is a vector, check if each element in X is the valley. |
|
Check if an object is VOID type. |
|
Determine if each element in X is the last day of a year. |
|
Determine if each element in X is the first day of a year. |
|
Instead of returning a sorted vector like sort_, isort returns the indexes in the original vector for each element in the sorted vector. |
|
|
|
Return the first few elements of the result of isort(X, [ascending]). |
|
If init, coeffs and input are all scalars, return a geometric sequence [init*coeffs, init*coeffs^2, init*coeffs^3, …]. |
|
Merge X and Y. |
|
Merge X and Y, and assign the result to X. |
|
This function parses extracted JSON elements into specified data type. |
|
Calculate the Kaufman Adaptive Moving Average for X with a rolling window. |
|
Calculate the Kendall rank correlation coefficient between X and Y. |
|
This function creates a stream table with one or more columns serving as the primary key. |
|
Create an keyed table, which is a special type of in-memory table with primary key. |
|
Return the keys of a dictionary as a vector, or return the column names of a table as a vector, or convert a set into a vector. |
|
K-means clustering. |
|
Implement the k-nearest neighbors (k-NN) algorithm with a brute-force search for classification and regression. |
|
Interpolating polynomial for a set of points. |
|
This function performs polynomial interpolation for a given set of points, ensuring the polynomial passes through all points in the set. |
|
Conduct Kolmogorov-Smirnov test on X and Y. |
|
Return the kurtosis of X. |
|
Estimate a Lasso regression that performs L1 regularization. |
|
Perform lasso regression. |
|
Estimate a Lasso regression using 5-fold cross-validation and return a model corresponding to the optimal parameters. |
|
Return the last element of a vector, or the last row of a matrix or table. |
|
If X is a vector: |
|
In the calendar month of X, suppose the last "weekday" is d. |
|
Create an indexed table, which is a special type of in-memory table with primary key. |
|
Create a keyed stream table with one or more columns serving as the primary key. |
|
Create a keyed table, which is a special type of in-memory table with primary key. |
|
If neither X nor Y is a set, return the element-by-element comparison of X<=Y. |
|
Return the first n characters of string X. |
|
If obj is a vector: linearly fill the null values between 2 non-null numeric values in obj. |
|
If obj is a vector: linearly fill the null values between 2 non-null numeric values in obj. |
|
Display information regarding the DolphinDB license. |
|
Return a Boolean value scalar or vector indicating whether each element in X fits a specific pattern. |
|
Perform linear interpolation/extrapolation on a set of points. |
|
Calculate the moving linear regression for X. |
|
Solve the following optimization problem with a linear objective function and a set of linear constraints. |
|
Left join (lj) return all records from the left table and the matched records from the right table. |
|
Load the backup of a partition in a distributed table. |
|
Load the specifications of a trained model into memory as a dictionary. |
|
Load an .npy (Python Numpy) binary file and convert it into a DolphinDB vector or matrix. |
|
Read an npz binary file from Python NumPy and convert it into DolphinDB objects. |
|
Load a binary file with fixed length for each column into memory. |
|
For a DFS table: return a table object with only the metadata. |
|
Load a text file into memory as a table. |
|
Load a text file into DolphinDB database. |
|
Access a group of rows and columns of a matrix by label(s) or a boolean vector. |
|
Convert X in GMT (Greenwich Mean Time) to local time zone. |
|
Resample X based on the specified resampleRule, closed and origin. |
|
If Y is not specified: return the natural logarithm of X. |
|
Return the logarithm of X to the base 10. |
|
Return log(1+X). |
|
Return the logarithm of X to the base 2. |
|
Fit a logistic regression model. |
|
Convert the data type of X to LONG. |
|
The loop template is very similar to the each template. |
|
It returns the low-order 8-byte double data of X. |
|
It returns the low-order 8-byte long integer data of X. |
|
For each element Xi in X, count the continuous nearest neighbors to its left that are larger than Xi. |
|
Convert all characters in a string or a list of strings into lower cases. |
|
For each element y in Y, get the first element that is greater than or equal to y and return its index in X. |
|
Pad the left-side of a string with a specific set of characters. |
|
Shift the binary representation of X to the left by bits. |
|
Left join (lj) return all records from the left table and the matched records from the right table. |
|
If neither X nor Y is a set, return the element-by-element comparison of X<Y. |
|
Remove leading spaces from a character expression. |
|
Compute pivoted LU decomposition of a matrix. |
|
For each element Xi in a sliding window of X, count the continuous nearest neighbors to its left that are larger than Xi. |
|
For each element Xi in a sliding window of X, count the continuous nearest neighbors to its left that are smaller than Xi. |
|
Calculate the moving average (whose type is determined by maType) in a sliding window of the given length. |
|
If X is a vector, return the average absolute deviation of X. |
|
Call a function with the specified parameters to generate a piece of script. |
|
Combine the specified args as a BLOB scalar or vector, so it can used as the key(s) of a dictionary or a set. |
|
Combine the specified args as a BLOB scalar or vector. |
|
Generate metacode for function call. |
|
Perform the Mann-Whitney U test on X and Y. |
|
Conduct multivariate analysis of variance (MANOVA). |
|
Apply Y on each element of X. |
|
Generate a matrix. |
|
If X is a vector, return a vector of the same length as X. |
|
Within a sliding window of given length (measured by the number of elements), the function stably sorts X by S in the order specified by ascending, then calculates the average of the first top elements. |
|
For one input: |
|
Calculate the maximum drawdown for the input X. |
|
A binary scalar function that returns the maximum by comparing X with Y. |
|
If X is a vector: return the maximum value of of the sum of consecutive positive elements of X. |
|
Calculate the coefficient estimate of an ordinary-least-squares regression of Y on X in a sliding window. |
|
Within a sliding window of given length (measured by the number of elements), the function stably sorts X and Y by S in the order specified by ascending, then calculates the coefficient estimate ordinary-least-squares regressions of Y on X. |
|
Calculate the correlation of X and Y in a sliding window. |
|
Within a sliding window of given length (measured by the number of elements), the function stably sorts X and Y by S in the order specified by ascending, then calculates the moving correlation of the first top pairs of elements in X and Y. |
|
Return the number of non-null values of X in a sliding window. |
|
Calculate the moving covariance of X and Y in a sliding window. |
|
Within a sliding window of given length (measured by the number of elements), the function stably sorts X and Y by S in the order specified by ascending, then calculates the moving covariance of the first top pairs of elements in X and Y. |
|
Create an MD5 hash from STRING. |
|
Alias for maxDrawdown. |
|
Calculate the average of X. |
|
If X is a vector, return the median of all the elements in X. |
|
Display the memory usage of the current node. |
|
Return the specified member/attribute of an object. |
|
Modifies one or more member objects of obj by applying a specified function with given parameters. |
|
Merge 2 indexed series or 2 indexed matrices. |
|
Return the first element of X in a sliding window. |
|
If X is a vector: |
|
For each element in X, return a number from 0 to 999999 indicating which microsecond of the second it falls in. |
|
Return the index of the first non-null element of X in a sliding window (based on the number of elements or time). |
|
Restore the backup. |
|
Return the index of the last non-null element of X in a sliding window (based on the number of elements or time). |
|
For each element in X, return a number from 0 to 999 indicating which millisecond of the second it falls in. |
|
Return the position of the element with the largest value in X in a sliding window. |
|
Return the position of the element with the largest value in X in a sliding window. |
|
Return the position of the element with the smallest value in X in a sliding window. |
|
Return the position of the element with the smallest value in X in a sliding window. |
|
For one input (null values will not be compared with other elements): |
|
A binary scalar function that returns the minimum by comparing X with Y. |
|
Return the corresponding minute(s). |
|
For each element in X, return a number from 0 to 59 indicating which minute of the hour it falls in. |
|
Calculate the moving kurtosis of X in a sliding window. |
|
Return the last element of X in a sliding window. |
|
If X is a vector: |
|
Calculate the average absolute deviation of X in a sliding window. |
|
Calculate the moving maximums of X in a sliding window. |
|
Obtain the maximum value of the sum of consecutive positive numbers in X within a sliding window of given size (based on the number of elements). |
|
Calculate the moving median of X in a sliding window. |
|
Calculate the moving minimums of X in a sliding window. |
|
Return the coefficient estimates of X and mean square errors of an ordinary- least-squares regression of Y on X with intercept with a rolling window. |
|
Mod means modulus. |
|
If X is a vector, calculate the most frequently occurring value in X. |
|
Return the corresponding month(s). |
|
Return the first day of the month that X belongs to. |
|
Return the last day of the month that X belongs to. |
|
For each element in X, return a number from 1 to 12 indicating which month of the year it falls in. |
|
move is the general form of prev and next. |
|
Migrate the specified data to coldVolumes. |
|
Apply the function/operator to a moving window of the given objects. |
|
Return an array vector indicating the indices of the first top elements of X after sorted within each sliding window. |
|
Return an array vector indicating the indices of the elements of X within each sliding window. |
|
Return the percentile rank of each element of X in a sliding window. |
|
Calculate the moving products of X in a sliding window. |
|
The Map-Reduce function is the core function of DolphinDB's generic distributed computing framework. |
|
Return the rank of each element of X in a sliding window. |
|
Calculate the moving skewness of X in a sliding window. |
|
Conduct the simple least-squares regressions of Y on X in a sliding window. |
|
Calculate the standard deviation of X in a sliding window. |
|
Within a sliding window of given length (measured by the number of elements), the function stably sorts X by S in the order specified by ascending, then calculates the unbiased sample standard deviation of the first top elements. |
|
Calculate the population standard deviation of X in a sliding window. |
|
Within a sliding window of given length (measured by the number of elements), the function stably sorts X by S in the order specified by ascending, then calculates the population standard deviation of the first top elements. |
|
Calculate the moving sum of X in a sliding window. |
|
Calculate the sum of squares of all elements of X in a sliding window (based on the number of elements or time). |
|
Within a sliding window of given length (measured by the number of elements), the function stably sorts X by S in the order specified by ascending, then sums up the first top elements. |
|
Return the element-by-element product of X and Y. |
|
Generate a tuple of data sources from multiple tables with a new partitioning design. |
|
Conduct the multinomial Naive Bayesian classification. |
|
Calculate the mutual information of X and Y. |
|
Calculate the moving variances of X in a sliding window. |
|
Within a sliding window of given length (measured by the number of elements), the function stably sorts X by S in the order specified by ascending, then calculates the unbiased sample variance of the first top elements. |
|
Calculate the moving population variances of X in a sliding window. |
|
Within a sliding window of given length (measured by the number of elements), the function stably sorts X by S in the order specified by ascending, then calculates the population variance of the first top elements. |
|
Calculate the moving averages of X with Y as weights in a sliding window. |
|
Calculate the moving sums of X with Y as weights in a sliding window. |
|
Within a sliding window of given length (measured by the number of elements), the function stably sorts X and Y by S in the order specified by ascending, then calculates the moving sums of X with Y as weights. |
|
In DolphinDB, NaN and Inf values of floating-point numbers are replaced with null values. |
|
For each element in X, return a number indicating which nanosecond of the second it falls in. |
|
Convert the data type of X to NANOTIME. |
|
Convert the data type of X to NANOTIMESTAMP. |
|
If neither X nor Y is a set, conduct the element-by-element comparison of X and Y; return 1 if the elements in X and Y are not the same. |
|
Return the negative of X. |
|
Resample X based on the specified resampleRule, closed and origin. |
|
Shift the elements of a vector to the left for one position. |
|
Consecutive elements in X with the same value feature the same state, and a null value has no state. |
|
Return a vector (matrix) that follows a normal distribution. |
|
Alias for norm. |
|
Return NOT of each element of X. |
|
Return the current timestamp. |
|
Fit yield curve using NS (Nelson-Siegel) model. |
|
Fit yield curve using NSS (Nelson-Siegel-Svensson) model. |
|
Predict yield using the NS/NSS model. |
|
Return a Boolean value which is the result of func(X,Y). |
|
When X is a vector/matrix: |
|
Please refer to |
|
If X is a vector/array vector, return the number of unique elements in X. |
|
DolphinDB parses script before execution. |
|
Calculate the checksum of a vector. |
|
Obtain the information on the variables in memory. |
|
Return the result of an ordinary-least-squares regression of Y on X. |
|
Return the result of an ordinary-least-squares regression of Y on X. |
|
Perform one-hot encoding on the specified columns in an in-memory table. |
|
Return the element-by-element logical X OR Y. |
|
Solve the following optimization problem with a quadratic objective function and a set of linear constraints. |
|
Return a bytes object packed according to the format string format. |
|
Return a data pair. |
|
Rearrange metrics as a matrix (or multiple matrices). |
|
Convert string into metacode, which can be executed by function eval. |
|
parseInteger parses X into an integer of the specified type in specified radix. |
|
parseInteger parses X into an integer of the specified type in specified radix. |
|
Parses JSON objects into an in-memory table. |
|
Create a partial application. |
|
Select one or more partitions from a partitioned table. |
|
Conduct principal component analysis for the specified columns of the data source. |
|
Conduct parallel computing of a vector function. |
|
pcross is the parallel computing version of template function cross. |
|
For each element Xi in X, return (Xi / Xi-n) - 1, representing the percentage changes between elements. |
|
If X is a vector, return the given percentile of X. |
|
Calculate the percentile (0-100) of a score in a vector with null values ignored. |
|
Fit a continuous piecewise linear function for a specified number of line segments. |
|
Rearrange the results of an aggregate function as a matrix. |
|
Prefix join is similar to equi join with the following differences: |
|
Load a text data file in parallel as an in-memory partitioned table. |
|
ploop is the parallel computing version of template function loop . |
|
Generate a POINT type data to store the location of a midpoint in the coordinate system. |
|
Calculate the value of the dependent variable for a one-dimensional polynomial based on the given coefficients and independent variable. |
|
Return a vector indicating the least-squares fit polynomial coefficients in ascending powers for a polynomial p(X) of degree n that is a best fit (in a least-squares sense) for the data in Y. |
|
Calculate the value of the dependent variable for a one-dimensional polynomial based on the given coefficients and independent variable. |
|
Apply the polynomial coefficient vector coeffs on each element of X. |
|
Remove the last element of X. |
|
Raise all elements of X to the power of Y. |
|
Make a prediction with the specified prediction model and data. |
|
Shift the elements of a vector to the right for one position. |
|
Consecutive elements in X with the same value feature the same state, and a null value has no state. |
|
Print out results and variable contents. |
|
If X is a vector, return the product of all the elements in X. |
|
Append newData to obj. |
|
Execuate prevailing window join. |
|
Evaluate the fitted continuous piecewise linear function at untested points. |
|
Solve the following optimization problem with a linear objective function and a set of constraints including a quadratic constraint. |
|
Perform the QR decomposition of a matrix. |
|
Solve the following optimization problem with a quadratic objective function and a set of linear constraints. |
|
Return values at the given quantile in X. |
|
Return values at the given quantile in X. |
|
Return the first day of the quarter that X belongs to. |
|
Return the first day of the quarter that X belongs to. |
|
Convert angle units from radians to degrees for each element of X. |
|
Return a random scalar/vector/matrix of the same data type as X. |
|
Return a vector of random values with beta distribution. |
|
Return a vector of random values with binomial distribution. |
|
Return a vector of random values with chi-squared distribution. |
|
Generate a sample of size count with random values sampling from v based on the specified probability distribution p. |
|
Return a vector of random values with exponential distribution. |
|
Return a vector of random values with F distribution. |
|
Return a vector of random values with gamma distribution. |
|
Return a vector of random values with logistic distribution. |
|
Return a matrix of random values that follow a multivariate normal distribution. |
|
Return a vector of random values with normal distribution. |
|
Return a vector of random values with Poisson distribution. |
|
Return a vector of random values with Student's t-distribution. |
|
Return a vector of random values with continuous uniform distribution. |
|
Return a vector of random values with Weibull distribution. |
|
Fit a random forest classification model. |
|
Fit a random forest regression model. |
|
Based on the sort order specified by ascending, this function returns the ranking (starting from 0) of each element in X. |
|
Returns element-by-element ratio of X to Y. |
|
If X is a vector, return X(n)X(n-1) by scanning X. |
|
Use RDP (Ramer-Douglas-Peucker) vector compression algorithm to compress the POINT type vector. |
|
Return element-by-element reciprocal of X. |
|
The function of reduce is the same as accumulate. |
|
Return the number of times a variable is referred to. |
|
Search in str from the offset position, and return an integer indicating how many times a string that matches pattern occurs in str. |
|
Search in str for another string that matches pattern and return an integer that indicates the beginning position of the first matched substring. |
|
Different from regexFind which returns the positions of the matched strings, regexFindStr searches from the offset position and returns the matched substring. |
|
Search in str for another string that matches pattern and and replace every occurrence of the matched string or pattern with replacement. |
|
Group the data of a matrix based on user-specified column/row labels and apply aggregation on each group. |
|
Send a script or function to a remote database for execution. |
|
Send a script or function to a remote database for execution. |
|
The function has the same feature and usage as the function remoteRun. |
|
Delete the first n elements from a vector. |
|
Delete the last n elements from a vector. |
|
For a vector, assign a new name. |
|
Rename a table in a DFS database. |
|
Change the order of columns of an in-memory table. |
|
Repartition a table with specified partitioning type and scheme, and return a tuple of data sources. |
|
Repeats each item in string X n times to form a new string. |
|
Replace oldValue with newValue in X. |
|
Replay one or more tables or data sources (generated by replayDS) to table(s) in chronological order to simulate real-time ingestion of streaming data. |
|
Generates a tuple of data sources from a DFS table (queried by a SQL statement) based on its time columns. |
|
Create a large matrix consisting of a rowRep-by-colRep tiling of copies of X. |
|
Apply func to X based on the frenquency (or the trading calendar) as specified in rule. |
|
Change the dimensions of a matrix and return a new matrix. |
|
Return the residuals from the least squares regression of Y on X. |
|
Restore the specified partitions from the most recent backup. |
|
Restore the backup database. |
|
Restore the backup database. |
|
Linear least squares with l2 regularization. |
|
Perform Ridge regression. |
|
Return the last n characters of string X. |
|
The rolling function applies func to a moving window of funcArgs. |
|
Extract a fixed number of rows from a table with a rolling window to generate a new table. |
|
Round a number to the specified number of digits after the decimal point with the round half up rule. |
|
Return one or more rows of a vector/matrix/table. |
|
The rowAlign function aligns corresponding rows from left and right based on their values. |
|
For each row (a vector is viewed as a one-column matrix here), return 1 if all rows of all input variables are true; otherwise return 0. |
|
Calculate the average of each row of the arguments. |
|
Calculate the coefficient estimate of the ordinary-least-squares regression of Y on X by row and return a vector with the same number of rows of X. |
|
Calculate the correlation between X and Y by row and return a vector with the same number of rows of X. |
|
Return the number of non-null elements in each row of the arguments. |
|
Calculate the covariance between X and Y by row and return a vector with the same number of rows of X. |
|
rowDenseRank can be viewed as function denseRank applied on rows instead of columns. |
|
If both X and Y are vectors/matrices, calculate the inner product between X and Y by row. |
|
If both X and Y are vectors/matrices, calculate the Euclidean distance between X and Y by row. |
|
Group the data by groupingCol, then calculate func(funcArgs) and return a scalar for each group. |
|
Return the index of the maximum in each row. |
|
Return a vector of the same length as the number of rows of the argument. |
|
Return the index of the minimum in each row. |
|
Return a vector of the same length as the number of rows of the argument. |
|
Return the kurtosis of each row in X. |
|
Calculate the maximum value of each row of the arguments. |
|
Calculate the minimum value of each row of the arguments. |
|
The rowMove function shifts the elements in each row of X left or right by a specified number of steps. |
|
Return the row names of matrix X. |
|
For each row in X, rowNext shifts the elements to the left for one position. |
|
Return the index position of each row in a table. |
|
For each row (a vector is viewed as a one-column matrix here), return 1 if there are true elements in each row of the input; otherwise return 0. |
|
For each row in X, rowPrev shifts the elements to the right for one position. |
|
Calculate the product of each row of the arguments. |
|
Conduct the following operation within each row of matrix X: |
|
Calculate the number of elements (null values included) of each row. |
|
Return the skewness of each row in X. |
|
Calculate the (sample) standard deviation of each row of the arguments. |
|
Calculate the population standard deviation of each row. |
|
Calculate the sum of each row of the arguments. |
|
Calculate the sum of square of all elements in each row of the arguments. |
|
If both X and Y are vectors/matrices, calculate the tanimoto distance between X and Y by row. |
|
Calculate the (sample) variance of each row of the arguments. |
|
Calculate the population variance of each row. |
|
Calculate the weighted average of X by row with Y as the weights and return a vector with the same number of rows of X. |
|
For each row, return 1 if odd number of columns are true; otherwise return 0. |
|
Return the number of rows in X. |
|
Pad the right-side of a string with a specific set of characters. |
|
Shift bits to the right. |
|
Take a string of characters that has spaces at the end, and return the text without the spaces at the end. |
|
Must be used in a where clause. |
|
Save a vector/matrix in DolphinDB as an npy file. |
|
Save a database handle. |
|
Save a table in the local node before sharing it to other nodes to form a dual partition database. |
|
Save the specifications of a trained model to a file on disk. |
|
Save a table as a partitioned DFS table. |
|
Save a table to an unpartitioned disk table. |
|
Save DolphinDB variables or data queried by SQL statement as a text file on disk. |
|
Save strings to a file by appending or overwriting. |
|
Display information about the schema of a table or a database. |
|
Compute the Schur decomposition of a square matrix. |
|
Solve the following optimization problem for the objective function with given constraints: |
|
Return the k-th smallest item ignoring null values. |
|
Conduct anomaly detection with the Seasoned Extreme Studentized Deviate test (S-ESD). |
|
Return the corresponding second(s). |
|
For each element in X, return a number from 0 to 59 indicating which second of the minute it falls in. |
|
Divide a vector into groups. |
|
segmentby is very similar to contextby except for how groups are determined. |
|
Semantically equi join |
|
Return unbiased (normalized by N-1) standard error of the mean over X . |
|
Return the first day of the semi-month that X belongs to. |
|
Suppose X is the d-th day of the month: |
|
Returns a vector starting from start and ending at end. |
|
The first session window starts at the first non-null value of X. |
|
Return the corresponding set object of vector X . |
|
Add comments to columns of a DFS table or an MVCC table. |
|
Set the labels of the rows and columns of a matrix as the indexes. |
|
Convert a single column matrix with row labels into an indexed series. |
|
Set the random seed. |
|
Set the policy of data retention and tiered storage. |
|
Return the dimension of a scalar/vector/matrix as a PAIR. |
|
Conduct a Shapiro-Wilk test on X. |
|
If only table and sharedName are specified: |
|
Convert the input to the data type of SHORT. |
|
Return a new vector/matrix after taking a shuffle on the data. |
|
Please refer to |
|
Detect the sign bit of the input value. |
|
Return 1 if X is positive; 0 if X is 0; -1 if X is negative; NULL if X is null. |
|
The sine function. |
|
The hyperbolic sine function. |
|
For a vector/matrix, size returns the number of elements. |
|
Return the skewness of X. |
|
Pause the application for X milliseconds. |
|
For slice(obj, index): |
|
Get the rows containing the specified values of the key columns from a keyed table or an indexed table. |
|
Calculate the Simple Moving Average (sma) for X in a sliding window of the given length. |
|
Print the results. |
|
Solve SOCP problems and calculate the minimum of the objective function under specified constraints. |
|
It generates the vector b that solves X*b=Y. |
|
Return a sorted vector/matrix in ascending/descending order. |
|
Sort X in-place in ascending/descending order. |
|
Sort a table in-place based on the specified columns and directions. |
|
Calculate the Spearman rank correlation coefficient of X and Y. |
|
splev, short for Spline Evaluation, is used to evaluate B-spline curves or their derivatives. |
|
Resample X based on the specified resampleRule, closed and origin. |
|
splrep, short for Spline Representation, is used to find the B-spline representation of a one-dimensional curve. |
|
Create a SQL statement dynamically. |
|
Generate metacode for selecting one or multiple columns with or without calculations. |
|
Use metacode and an optional alias name to define a column. |
|
Create a list of data sources based on the input SQL metacode. |
|
Dynamically generate a metacode of the SQL delete statement. |
|
Dynamically generate a metacode of the SQL update statement. |
|
Return the square root of each element in X. |
|
Return the square of X. |
|
Check if X starts with str. |
|
Return a dictionary about the descriptive statistics of X including avg(mean), max, min, count, median, and stdev. |
|
Supposing the iteration is based only on the previous result, for the k-th (k ∈ N+) record, the calculation logic is (where the column "factor" holds the results): |
|
If X is a vector, return the (unbiased) sample standard deviation of X. |
|
If X is a vector, return the population standard deviation of X. |
|
Use Loess method to decompose a time series into trend, seasonality and randomness. |
|
Return a copy of str and replace all occurrences of pattern with replacement. |
|
Create a table in real-time mode to be used in streaming (also called a stream table). |
|
Convert X to a string. |
|
stringFormat formats strings by replacing placeholders with values passed by the user. |
|
Remove all space, tab, new line, and carriage characters in both head and tail of a string. |
|
Return the length of each string in X. |
|
Return the length of each string in X. |
|
If X contains str, return the index in X where the first occurrence of str starts; otherwise, return -1. |
|
Return the result of element-by-element subtracting Y from X. |
|
When a subset of the elements of a vector are needed in calculation, if we use script such as close[10:].avg(), a new vector close[10:] is generated with replicated data from the original vector close before the calculation is conducted. |
|
Return a substring of X with the specified starting position (offset) and length. |
|
The only differerence between substru and substr is that substru can process Unicode strings. |
|
Create a read-only view of a subarray of each vector in X almost instantly. |
|
If X is a vector, return the sum of all the elements in X. |
|
If X is a vector, return the sum of squares of all the elements in X. |
|
If X is a vector, return the sum of cubes of all the elements in X. |
|
If X is a vector, return the sum of the fourth powers of all the elements in X. |
|
For each element X i in X, calculate the cumulative sum of X i in the backward direction, i.e., (X i + X i-1 + X i-2 …), until the value is no smaller than Y. |
|
summary generates summary statistics for the input data. |
|
Perform the singular decomposition of a matrix. |
|
Convert X to a symbol vector. |
|
SYMBOL is a special STRING type used to store repetitive strings in DolphinDB. |
|
Return the union of two sets minus the intersection of the two sets. |
|
Return a thread-safe dictionary that allows concurrent read and write by multiple threads. |
|
Return the syntax of function/command X. |
|
Calculate the Triple Exponential Moving Average (t3) for X in a sliding window of the given length. |
|
If Y is not specified, conduct a one-sample t-test on X. |
|
Insert args. |
|
Insert rows into a table if the values with the key do not already exist, or update them if they do. |
|
Return the last n element(s) of a vector, or the last n columns of a matrix, or the last n rows of a table. |
|
Regarding null value handling, the differences between DolphinDB's built-in moving functions and Python TA-lib lie in: |
|
Traverse each vector (v1, v2, …, vn) based on the index starting from 0 and return a tuple. |
|
The tangent function. |
|
The hyperbolic tangent function. |
|
If X and Y are scalars or vectors, return the result of their tanimoto distance. |
|
Calculate the Triple Exponential Moving Average (tema) for X in a sliding window of the given length. |
|
Add a value to a temporal variable. |
|
Convert a DolphinDB temporal variable to a string with specified format. |
|
Convert a string with specified format to a DolphinDB temporal data type. |
|
Resample the time series between start and end based on the frequency specified by rule. |
|
Generate a tensor from X with the following rules: |
|
To load an extremely large text file into DolphinDB database, we can first use function textChunkDS to divide the text file into multiple data sources with the size of each data source specified by chunkSize, then use function mr to load data. |
|
Return a vector of integral type from 0 to n-1. |
|
Return the corresponding time(s) with millisecond precision. |
|
Return the corresponding timestamp(s). |
|
For each element Xi in a sliding window of X, count the continuous nearest neighbors to its left that are larger than Xi. |
|
For each element Xi in a sliding window of X, count the continuous nearest neighbors to its left that are smaller than Xi. |
|
Calculate the moving average of X in a sliding window. |
|
Calculate the coefficient estimate of an ordinary-least-squares regression of Y on X in a sliding window. |
|
Calculate the correlation of X and Y in a sliding window. |
|
Return the number of non-null values of X in a sliding window. |
|
Calculate the moving covariance of X and Y in a sliding window. |
|
Return the first element of X in a sliding window. |
|
Calculate the moving kurtosis of X in a sliding window. |
|
Return the last element of X in a sliding window. |
|
Calculate the moving maximum of X in a sliding window. |
|
Calculate the moving median of X in a sliding window. |
|
Calculate the moving minimum of X in a sliding window. |
|
For each element T i in T, return the element in X which is at the same position as (T i-window) in T. |
|
Apply the function/operator to a sliding window of the given objects. |
|
Return the percentile rank of each element of X in a sliding window. |
|
Calculate the moving product of X in a sliding window. |
|
Return the rank of each element of X in a sliding window. |
|
Calculate the moving skewness of X in a sliding window. |
|
Calculate the standard deviation of X in a sliding window. |
|
Calculate the population standard deviation of X in a sliding window. |
|
Calculate the moving sum of X in a sliding window. |
|
Calculate the moving sum of squares of all elements of X in a sliding window. |
|
Calculate the moving variance of X in a sliding window. |
|
Calculate the moving population variance of X in a sliding window. |
|
Calculate the moving average of X with Y as weights in a sliding window. |
|
Calculate the moving sum of X with Y as weights in a sliding window. |
|
Split a string into a vector of the CHAR data type. |
|
Convert a DolphinDB object to JSON format. |
|
Convert a DolphinDB object to JSON format. |
|
Change the encoding of strings to UTF-8. |
|
Return the current date. |
|
For each element Xi in X, count the continuous nearest neighbors to its left that are smaller than Xi. |
|
Apply data transforming functions to a data source or a list of data sources. |
|
For each element of X, conduct a transformation as specified with parameter rule. |
|
This function is used to transpose X: |
|
Use this command to manually trigger the compaction of TSDB level files at specific level for optimal reading performance. |
|
If k is not specified: return the lower triangular portion of matrix X. |
|
Trim all white spaces around the string. |
|
Calculate the Triangular Moving Average (trima) for X in a sliding window of the given length. |
|
If k is not specified: return the upper triangular portion of matrix X. |
|
Return a vector of the same length as each of the input vectors. |
|
Remove all rows from a DFS table but keep its schema. |
|
Summarize individual results from multiple map calls. |
|
Apply func over a sliding window of funcArgs. |
|
Return an integer indicating the data type of X. |
|
Return a string indicating the data type of X. |
|
Release variables or function definitions from the memory. |
|
For table X, where some columns are array vectors or columnar tuples, returns the normalized table, with one row for each element of the flattened array vector or columnar tuple. |
|
Call a function with the specified parameters. |
|
Connect the operands in objs with the binary operators in optrs to generate metacode of a multivariate expression. |
|
Return the union of two sets. |
|
For the first scenario, combine 2 tables into a single table. |
|
Unpack from the buf according to the format string specified by format. |
|
Convert the columns specified by valueColNames into a single column. |
|
Update columns of a table in place. |
|
Update the license without restarting the node. |
|
Convert all characters in a string or a list of strings into upper cases. |
|
Insert rows into a keyed table or indexed table if the values of the primary key do not already exist, or update them if they do. |
|
Convert STRING into UUID data type. |
|
Calculate Value at Risk (VaR) to predict the minimum return within a given confidence level (e.g. 95% or 99%) over a specific time frame. |
|
Compare each element in X with the element specified by mode. |
|
Return all values of a dictionary, or all the columns of a table in a tuple. |
|
Calculate vanilla option prices using specified methods. |
|
If X is a vector, return the the (unbiased) sample standard variance of X. |
|
Analyze multivariate time series using a Vector Autoregressive Moving-Average (VARMA) model. |
|
If X is a vector, return the population variance of X. |
|
Analyze multivariate time series using the Vector Autoregression model (VAR model). |
|
Compute a matrix or vector norm. |
|
Return key system information about the DolphinDB server: |
|
This function sequentially accumulates the elements in X, and then groups them based on the specified threshold. |
|
Calculate the weighted average of X with the weight vector Y. |
|
Count the words in X. |
|
Calculate the weighted covariance of X and Y with weights as the weight vector. |
|
For each element of X, return the first date of the week that it belongs to and that starts on the day as specified by parameter weekday. |
|
For each element of X, return the last date of the week that it belongs to and that ends on the day as specified by parameter weekday. |
|
In the calendar month of X, suppose the "week"-th "weekday" is d. |
|
Return the week number for X. |
|
eturn integer(s) to represent of the corresponding weekday(s) of X. |
|
Calculate the Exponential Moving Average (ema) for X in a sliding window of the given length. |
|
Apply func over a sliding window of funcArgs. |
|
Return a winsorized version of the input array. |
|
Winsorize the input array. |
|
If only 1 of the elements at the same location of x and y is null, replace the null value with fillValue in the calculation. |
|
Window join is a generalization of asof join. |
|
Return the result of an weighted-least-squares regression of Y on X. |
|
Calculate the Weighted Moving Average (wma) for X in a sliding window of the given length. |
|
Write a message into the log file. |
|
Write logs of the specified level to the log files. |
|
Return the weighted sum of squares of X and Y. |
|
Connect to a remote site. |
|
Pair each elements in X and Y to perform the "exclusive or" operation. |
|
Return the corresponding year(s). |
|
Return the first day of the year that X belongs to and that starts in the month of startingMonth. |
|
Return the last day of the year that X belongs to and that ends in the month of endingMonth. |
|
If Y is not specified, conduct a one-sample Z-test on X. |
|
zigzag is mainly used to filter values with smaller movements in HL. |
|
If X is a vector, return the zscore for all elements of X. |