mirror of
https://github.com/rzmk/czv.git
synced 2025-12-19 08:09:24 +00:00
10 lines
171 B
Python
10 lines
171 B
Python
import czv
|
|
|
|
data: str = """fruits,price
|
|
apple,2.50
|
|
banana,3.00
|
|
strawberry,1.50"""
|
|
|
|
output: int = czv.row_count(file_data=data, include_header_row=True)
|
|
|
|
print(output) # 4
|