DataSeries
create a DataSeries from data
Calling Sequence
Parameters
Options
Description
Examples
Compatibility
DataSeries( L, opts )
L
-
: {list,Array,Vector,DataSeries,table} : input data
labels : {list,Array,Vector}, labels to use for data items in L
datatype : type, the data type for the DataSeries
The DataSeries constructor produces, from the input data L, a DataSeries data container with the data in L. If the labels = option is specified, then the data in the resulting DataSeries may be retrieved by using the labels specified, as well as by position, as for an Array or Vector . The input data (L) may be a list , a Vector , an Array , a table , or another DataSeries.
If the input L is a table , then the indices of L are used as the labels, while the entries of L are used as the data items. Note that, in this case, there is no pre-determined order for the data.
The input L may be an existing DataSeries, in which case you can use the constructor to produce a new DataSeries with a different (compatible) data type, or to re-label the data items.
DataSeries⁡1,2,3
112233
DataSeries⁡Vector⁡1,2,3
DataSeries⁡Array⁡1,2,3
DataSeries⁡1,2,3,labels=a,b,c
a1b2c3
DataSeries⁡1,2,3,datatype=float4
11.22.33.
DataSeries⁡1,2,3,labels=a,b,c,datatype=float8
a1.b2.c3.
ds≔DataSeries⁡table⁡a=1,b=2,c=3
ds≔c3a1b2
DataSeries⁡ds,datatype=float8
c3.a1.b2.
DataSeries⁡ds,labels=X,Y,Z
X3Y1Z2
The DataSeries command was introduced in Maple 2016.
For more information on Maple 2016 changes, see Updates in Maple 2016 .
See Also
DataFrame
Download Help Document
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル