isNull
Syntax
isNull(X)
Details
Returns true if an element is NULL. Starting from version 2.00.5, when X is a dictionary, tuple, array vector, or table, this function checks whether each element in each row is NULL and returns a dictionary, tuple, or table with the same dimensions as X.
Both DolphinDBisNull and pandas.isnull can be used to determine whether a value is null. The differences are as follows:
-
DolphinDB
isNullis designed for detecting NULL values within DolphinDB's own type system and supports scalars, vectors, matrices, and other DolphinDB objects. -
pandas.isnullis intended for missing-value detection in Python data analysis workflows. It primarily identifies values such as NaN, NaT, pd.NA, and None.
Parameters
X is a scalar, pair, vector, matrix, or memory table.
Returns
Returns a Boolean value with the same form as X.
