docs: show types in Python examples

This commit is contained in:
rzmk 2024-06-20 16:49:20 -04:00
parent 786d0f38ba
commit 25a2568ea0
No known key found for this signature in database
3 changed files with 13 additions and 8 deletions

View file

@ -12,11 +12,16 @@ pip install czv
## Example
```python
from czv import row_count
import czv
output = row_count(file_path="fruits.csv")
data: str = \"""fruits,price
apple,2.50
banana,3.00
strawberry,1.50\"""
print(output)
output: int = czv.row_count(file_data=data, include_header_row=True)
print(output) # 4
```
## Links