cudf.Index.append#
- Index.append(other)[source]#
Append a collection of Index objects together.
- Parameters:
- otherIndex or list/tuple of indices
- Returns:
- appendedIndex
Examples
>>> import cudf >>> idx = cudf.Index([1, 2, 10, 100]) >>> idx Index([1, 2, 10, 100], dtype='int64') >>> other = cudf.Index([200, 400, 50]) >>> other Index([200, 400, 50], dtype='int64') >>> idx.append(other) Index([1, 2, 10, 100, 200, 400, 50], dtype='int64')
append accepts list of Index objects
>>> idx.append([other, other]) Index([1, 2, 10, 100, 200, 400, 50, 200, 400, 50], dtype='int64')