remove_row
Remove specific rows from CSV files by index to clean datasets, delete unwanted entries, or prepare data for analysis.
Instructions
Remove a specific row from the CSV file.
Args:
filename: Name of the CSV file
row_index: Zero-based index of the row to remove
Returns:
Dictionary with removal results
Input Schema
Name | Required | Description | Default |
---|---|---|---|
filename | Yes | ||
row_index | Yes |
Input Schema (JSON Schema)
{
"properties": {
"filename": {
"title": "Filename",
"type": "string"
},
"row_index": {
"title": "Row Index",
"type": "integer"
}
},
"required": [
"filename",
"row_index"
],
"type": "object"
}