return the number of elements in a DataFrame
return the index of the first element in a DataFrame
return the index of the last element in a DataFrame
numelems( df )
lowerbound( df )
lowerbound( df, dim )
upperbound( df )
upperbound( df, dim )
a DataFrame object
a positive integer (1 or 2)
The numelems( df ) command returns the number of elements in the DataFrame df. This is defined to be the number of individual data items in the DataFrame df, not the number of columns of df.
The lowerbound( df, dim ) command returns the index, which is always equal to 1, of the first element of the DataFrame df in dimension dim, which must be either 1 or 2.
The upperbound( df, dim ) command returns the index of the last element of the DataFrame df in dimension dim, which must be either 1 or 2. If dim is equal to 1, then the number of rows of df is returned. If dim is equal to 2, then the number of columns of df is returned.
Note that, for a DataFrame df, numelems( df ) is equal to upperbound( df, 1 ) * upperbound( df, 2 ), which is just the product of the numbers of rows and columns of df.
The DataFrame/numelems, DataFrame/lowerbound and DataFrame/upperbound commands were introduced in Maple 2016.
For more information on Maple 2016 changes, see Updates in Maple 2016.
Download Help Document
What kind of issue would you like to report? (Optional)