Append a DataSeries to another DataSeries - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


DataSeries/Append

append a DataSeries to another DataSeries

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

Append( ds1, ds2 )

Parameters

ds1

-

: a DataSeries object

ds2

-

: a DataSeries object

Description

• 

The Append( ds1, ds2 ) command appends the DataSeries df2 to the DataSeries df1, and returns the newly constructed DataSeries.

• 

It is required that the row labels for the DataSeries df1 and df2 be disjoint.

Examples

ds1DataSeries1,2,3,labels=a,b,c

ds1a1b2c3

(1)

ds2DataSeries1,2,3,4,5,labels=d,e,f,g,h

ds2d−1e−2f−3g−4h−5

(2)

dsAppendds1,ds2

dsa1b2c3d−1e−2f−3g−4h−5

(3)

ds3DataSeries4,5,6,labels=c,d,e

ds3c4d5e6

(4)

Appendds1,ds3

Error, (in DataSeries:-Append) duplicate row labels detected: c

Compatibility

• 

The DataSeries/Append command was introduced in Maple 2016.

• 

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

See Also

DataFrame,Append

DataSeries