DataSeries/convert - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Statistics and Data Analysis : DataFrames and DataSeries : DataSeries Commands : DataSeries/convert

DataSeries/convert

conversions to and from DataSeries

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

convert( expr, DataSeries )

convert( ds, typ )

Parameters

expr

-

a list, Array, Vector or table

ds

-

DataSeries

Description

• 

The convert command can convert certain types of expressions expr to a DataSeries, and can convert a DataSeries ds to certain other types typ.

• 

The convert( expr, DataSeries ) form of the command converts an expression expr, of type list, Array, Vector or table, to a DataSeries object. Note that the order of the elements in the resulting DataSeries is not well-defined in the case that expr is a table.

• 

A DataSeries ds can be converted to a list, set, Array, Vector or Matrix.

Examples

dsconvert1,2,3,DataSeries

ds112233

(1)

typeds,DataSeries

true

(2)

convert1,2,3,DataSeries

112233

(3)

converttablea=1,b=2,c=3,DataSeries

a1b2c3

(4)

convertds,list

1,2,3

(5)

convertds,Array

123

(6)

convertds,Vectorrow

123

(7)

convertds,Matrix

123

(8)

Compatibility

• 

The DataSeries/convert command was introduced in Maple 2016.

• 

For more information on Maple 2016 changes, see Updates in Maple 2016.

See Also

Array

convert

DataSeries

list

Matrix

set

table

type

type/list

Vector