DataSeries/GetData - Maple Programming Help

Online Help

All Products    Maple    MapleSim


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

DataSeries/GetData

get the plain data Array in a DataSeries

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

GetData(ds, c)

Parameters

ds

-

a DataSeries object

c

-

(optional) equation of the form copy = true or false

Description

• 

The GetData command returns the Array from a DataSeries object that contains the actual data.

• 

By default, GetData returns the data Array itself: if you modify the values in the returned Array, then the values in the DataSeries object will change. If you use the copy = true option, GetData returns a copy of this Array. You can shorten this option to just copy instead of copy = true. The default is copy = false.

Examples

dsDataSeries1,2,3,4,labels=A,B,C,D

dsA1B2C3D4

(1)

aGetDatads

a1234

(2)

Modifying a will modify the data in ds.

a22

a2−2

(3)

ds

A1B−2C3D4

(4)

bGetDatads,copy

b1−234

(5)

Modifying b will not modify the data in ds.

b33

b3−3

(6)

ds

A1B−2C3D4

(7)

Compatibility

• 

The DataSeries/GetData command was introduced in Maple 2016.

• 

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

See Also

DataSeries

DataSeries/Constructor