Skip to content

Commit

Permalink
Merge pull request #60 from PickwickSoft/release/v1.0.0
Browse files Browse the repository at this point in the history
📝 Fix code sample
  • Loading branch information
garlontas committed Jul 25, 2023
2 parents 506151a + 3e20876 commit 648e00f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,10 @@ Now you can use the loader directly when creating your Stream:

```python
Stream.of(csv("data.csv", delimiter=";")) \
.map(lambda x: x["name"]) \
.map(lambda x: x.attr1) \
.for_each(print)
```
You can access the attributes of the CSV rows directly like you would with a normal object.

## API Reference
For a more detailed documentation view the docs on GitBook: [PyStreamAPI Docs](https://pystreamapi.pickwicksoft.org/)
Expand Down

0 comments on commit 648e00f

Please sign in to comment.