From c1d003bec41f6843961311845dce4e361dd27304 Mon Sep 17 00:00:00 2001 From: iuvbio Date: Mon, 4 Oct 2021 14:34:29 +0200 Subject: [PATCH] improve docstring --- pandas_ods_reader/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas_ods_reader/main.py b/pandas_ods_reader/main.py index ff48f29..b12748b 100644 --- a/pandas_ods_reader/main.py +++ b/pandas_ods_reader/main.py @@ -14,14 +14,14 @@ def read_ods(file_or_path, sheet=1, headers=True, columns=None): Parameters ---------- - file_or_path : str + file_or_path : str or pathlib.Path The path to the .ods or .fods file. sheet : int or str, default 1 If `int`, the 1 based index of the sheet to be read. If `str`, the name of the sheet to be read. header : bool, default True If `True`, then the first row is treated as the list of column names. - columns : list or None, optional + columns : list, default None, optional A list of column names to be used as headers. Returns