---
Product: Aspose.Slides
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/slides/python/RowCollection
---

# RowCollection

## Overview

`RowCollection` is a class in Aspose.Slides FOSS for Python.
Inherits from: `BaseCollection`, `IRowCollection`.

Represents table row collection.

This class provides 3 methods for working with RowCollection objects in Python programs.
Available methods include: `add_clone`, `insert_clone`, `remove_at`.
All public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package.
Properties: `as_i_collection`, `as_i_enumerable`, `length`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `as_i_collection` | `list` | Read | Gets the as i collection. |
| `as_i_enumerable` | `Any` | Read | Gets the as i enumerable. |
| `length` | `int` | Read | Returns the number of elements. |

## Methods

| Signature | Description |
|-----------|-------------|
| `add_clone(templ, with_attached_rows)` → `list[IRow]` | Adds a clone of the template row, optionally with attached rows, and returns the new rows |
| `insert_clone(index, templ, with_attached_rows)` → `list[IRow]` | Inserts a cloned template row at the given index, optionally with attached rows, and returns the inserted rows |
| `remove_at(first_row_index, with_attached_rows)` |  |

## See Also

- [Aspose.Slides — Enterprise API Reference](https://reference.aspose.com/slides/)