Count rows Version 3 (Python)
Action group: Tables
Description
This action is used to count the number of rows in the selected table.
Action icon
Settings of parameters
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Data table | The table in which to count the rows. | Robin.DataTable | Yes | |
Skip header | If the value is «true», then the first row of the table is skipped when counting. | Robin.Boolean | true | No |
Skip empty rows | If the value is «true», the action will only count completed rows. | Robin.Boolean | true | No |
Results | ||||
Result | Number of rows in the table. | Robin.Numeric |
Special conditions of use
None.
Example of use
Task
There is a table in CSV format
It is necessary to calculate the number of rows in the table without taking into account the table header.
Solution
Use "Get table from CSV", "Count rows" actions.
Implementation
- Assemble a robot consisting of actions:
- Set the parameters for the "Get table from CSV" action.
- Set the parameters for the "Count rows" action.
- Click "Start" in the top panel.
Result
The program robot completed successfully.
The number of rows in the table is obtained.
Обзор
Инструменты контента