Opensearch-py-ml
1.1.0
API Reference
DataFrame
Constructor
Attributes and Underlying Data
DataFrame.index
DataFrame.columns
DataFrame.dtypes
DataFrame.select_dtypes
DataFrame.values
DataFrame.empty
DataFrame.shape
DataFrame.ndim
DataFrame.size
Indexing, Iteration
Function Application, GroupBy & Window
Computations / Descriptive Stats
Reindexing / Selection / Label Manipulation
Plotting
Opensearch Functions
Serialization / IO / Conversion
Series
General Utility Functions
Input/Output
MLCommons Support
Sentence Transformer
Examples
Pre-trained models
Opensearch-py-ml
API Reference
DataFrame
DataFrame.ndim
View page source
DataFrame.ndim
DataFrame.
ndim
Returns 2 by definition of a DataFrame
Returns
int
By definition 2
See Also
:pandas_api_docs:`pandas.DataFrame.ndim`