turicreate.SFrame.append

SFrame.append(self, other)

Add the rows of an SFrame to the end of this SFrame.

Both SFrames must have the same set of columns with the same column names and column types.

Parameters:
other : SFrame

Another SFrame whose rows are appended to the current SFrame.

Returns:
out : SFrame

The result SFrame from the append operation.

Examples

>>> sf = turicreate.SFrame({'id': [4, 6, 8], 'val': ['D', 'F', 'H']})
>>> sf2 = turicreate.SFrame({'id': [1, 2, 3], 'val': ['A', 'B', 'C']})
>>> sf = sf.append(sf2)
>>> sf
+----+-----+
| id | val |
+----+-----+
| 4  |  D  |
| 6  |  F  |
| 8  |  H  |
| 1  |  A  |
| 2  |  B  |
| 3  |  C  |
+----+-----+
[6 rows x 2 columns]