Skip to content

Commit

Permalink
clarify readme for reading in deltalake (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
avriiil authored Jan 3, 2024
1 parent 24e0c58 commit ad26752
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,18 @@ conda install -c conda-forge dask-deltatable
import dask_deltatable as ddt

# read delta table
ddt.read_deltalake("delta_path")
df = ddt.read_deltalake("delta_path")

# with specific version
ddt.read_deltalake("delta_path", version=3)
df = ddt.read_deltalake("delta_path", version=3)

# with specific datetime
ddt.read_deltalake("delta_path", datetime="2018-12-19T16:39:57-08:00")
df = ddt.read_deltalake("delta_path", datetime="2018-12-19T16:39:57-08:00")
```

`df` is a Dask DataFrame that you can work with in the same way you normally would. See [the Dask DataFrame documentation](https://docs.dask.org/en/stable/dataframe.html) for available operations.


### Accessing remote file systems

To be able to read from S3, azure, gcsfs, and other remote filesystems,
Expand Down

0 comments on commit ad26752

Please sign in to comment.