Commit 0cc835f3 authored by Eric Duminil's avatar Eric Duminil
Browse files

Doc

parent 1af417ea
...@@ -16,7 +16,9 @@ logger = logging.getLogger(__name__) ...@@ -16,7 +16,9 @@ logger = logging.getLogger(__name__)
def detect_decimal(csv_path: Path, line_number: int, check: str = "") -> str: def detect_decimal(csv_path: Path, line_number: int, check: str = "") -> str:
"""Detect whether '.' or ',' is used as decimal separator on the given line.""" """Detect whether '.' or ',' is used as decimal separator on the given line. (0-index)
Check if substring check is included in line at line_number
"""
with open(csv_path, encoding="utf-8") as csv: with open(csv_path, encoding="utf-8") as csv:
for _ in range(line_number): for _ in range(line_number):
next(csv) next(csv)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment