> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemo/curator/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemo/curator/_mcp/server.

# nemo_curator.stages.text.experimental.translation.stages.skipped_rows

Stages for skipping and later restoring already-translated rows.

## Module Contents

### Classes

| Name                                                                                                                                    | Description                                                       |
| --------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------- |
| [`RestoreSkippedRowsStage`](#nemo_curator-stages-text-experimental-translation-stages-skipped_rows-RestoreSkippedRowsStage)             | Re-merge previously skipped rows back into the translated batch.  |
| [`SkipExistingTranslationsStage`](#nemo_curator-stages-text-experimental-translation-stages-skipped_rows-SkipExistingTranslationsStage) | Split a batch into already-translated and needs-translation rows. |

### Data

[`_SKIPPED_ROWS_METADATA_KEY`](#nemo_curator-stages-text-experimental-translation-stages-skipped_rows-_SKIPPED_ROWS_METADATA_KEY)

[`__all__`](#nemo_curator-stages-text-experimental-translation-stages-skipped_rows-__all__)

### API

```python
class nemo_curator.stages.text.experimental.translation.stages.skipped_rows.RestoreSkippedRowsStage(
    name: str = 'RestoreSkippedRowsStage'
)
```

Dataclass

**Bases:** [ProcessingStage\[DocumentBatch, DocumentBatch\]](/nemo-curator/nemo_curator/stages/base#nemo_curator-stages-base-ProcessingStage)

Re-merge previously skipped rows back into the translated batch.

**`_COLUMN_DEFAULTS`** `dict[str, object]`

---

**`name`** `str = 'RestoreSkippedRowsStage'`

---

```python
nemo_curator.stages.text.experimental.translation.stages.skipped_rows.RestoreSkippedRowsStage.inputs() -> tuple[list[str], list[str]]
```

```python
nemo_curator.stages.text.experimental.translation.stages.skipped_rows.RestoreSkippedRowsStage.outputs() -> tuple[list[str], list[str]]
```

```python
nemo_curator.stages.text.experimental.translation.stages.skipped_rows.RestoreSkippedRowsStage.process(
    batch: nemo_curator.tasks.DocumentBatch
) -> nemo_curator.tasks.DocumentBatch
```

Merge stashed rows back and restore original order.

```python
class nemo_curator.stages.text.experimental.translation.stages.skipped_rows.SkipExistingTranslationsStage(
    name: str = 'SkipExistingTranslationsSt...,
    translation_column: str = 'translated_text',
    original_order_col: str = '_skip_original_idx'
)
```

Dataclass

**Bases:** [ProcessingStage\[DocumentBatch, DocumentBatch\]](/nemo-curator/nemo_curator/stages/base#nemo_curator-stages-base-ProcessingStage)

Split a batch into already-translated and needs-translation rows.

**`name`** `str = 'SkipExistingTranslationsStage'`

---

**`original_order_col`** `str = '_skip_original_idx'`

---

**`translation_column`** `str = 'translated_text'`

---

```python
nemo_curator.stages.text.experimental.translation.stages.skipped_rows.SkipExistingTranslationsStage.inputs() -> tuple[list[str], list[str]]
```

```python
nemo_curator.stages.text.experimental.translation.stages.skipped_rows.SkipExistingTranslationsStage.outputs() -> tuple[list[str], list[str]]
```

```python
nemo_curator.stages.text.experimental.translation.stages.skipped_rows.SkipExistingTranslationsStage.process(
    batch: nemo_curator.tasks.DocumentBatch
) -> nemo_curator.tasks.DocumentBatch
```

Remove already-translated rows and stash them for later merge.

```python
nemo_curator.stages.text.experimental.translation.stages.skipped_rows._SKIPPED_ROWS_METADATA_KEY = '_skipped_rows_state'
```

```python
nemo_curator.stages.text.experimental.translation.stages.skipped_rows.__all__ = ['_SKIPPED_ROWS_METADATA_KEY', 'RestoreSkippedRowsStage', 'SkipExistingTranslati...
```