---
title: changes (DataStreamReader)
description: "DataStreamReader.changes method in PySpark: Returns the row-level changes (Change Data Capture) from the specified table as a streaming DataFrame."
canonical_url: https://docs.databricks.com/aws/en/pyspark/reference/classes/datastreamreader/changes
---

# changes (DataStreamReader)

Returns the row-level changes (Change Data Capture) from the specified table as a streaming DataFrame. Currently only supported for Data Source V2 tables whose catalog implements `TableCatalog.loadChangelog()`. Use `option()` to specify the starting version or timestamp and processing options.

## Syntax

```
changes(tableName)
```

## Parameters

| Parameter   | Type | Description        |
| ----------- | ---- | ------------------ |
| `tableName` | str  | Name of the table. |

## Returns

`DataFrame`

## Examples

```python
spark.readStream.option("startingVersion", "10").changes("my_table")
```
