improve docstring
This commit is contained in:
parent
b7113b3011
commit
c1d003bec4
|
|
@ -14,14 +14,14 @@ def read_ods(file_or_path, sheet=1, headers=True, columns=None):
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
file_or_path : str
|
file_or_path : str or pathlib.Path
|
||||||
The path to the .ods or .fods file.
|
The path to the .ods or .fods file.
|
||||||
sheet : int or str, default 1
|
sheet : int or str, default 1
|
||||||
If `int`, the 1 based index of the sheet to be read. If `str`, the
|
If `int`, the 1 based index of the sheet to be read. If `str`, the
|
||||||
name of the sheet to be read.
|
name of the sheet to be read.
|
||||||
header : bool, default True
|
header : bool, default True
|
||||||
If `True`, then the first row is treated as the list of column names.
|
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.
|
A list of column names to be used as headers.
|
||||||
|
|
||||||
Returns
|
Returns
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue