@@ -32,7 +32,7 @@ def read_fts_tsv(f, sep='\t', **kw):
3232 :param str sep: Separator of the fields, defaults to ``'\t'``
3333 :param str ftype: Parameter used as feature type, if parameter is not present use the value
3434 of ftype itself.
35- :param \*\*kw: All other kwargs are passed to `pandas.read_csv()`
35+ :param \*\*kw: All other kwargs are passed to :func: `pandas.read_csv()`
3636
3737 """
3838 return _read_xsv (f , sep = sep , ** kw )
@@ -46,7 +46,7 @@ def read_fts_csv(f, sep=',', **kw):
4646 :param str sep: Separator of the fields, defaults to ``','``
4747 :param str ftype: Parameter used as feature type, if parameter is not present use the value
4848 of ftype itself.
49- :param \*\*kw: All other kwargs are passed to `pandas.read_csv()`
49+ :param \*\*kw: All other kwargs are passed to :func: `pandas.read_csv()`
5050 """
5151 return _read_xsv (f , sep = sep , ** kw )
5252
@@ -60,7 +60,7 @@ def write_fts_tsv(fts, f, sep='\t', **kw):
6060 :param vals: Parameters from the metadata or location to write,
6161 ``'len'`` is also allowed,
6262 might be a string or tuple, defaults to ``'type start stop strand'``
63- :param \*\*kw: All other kwargs are passed to `pandas.DataFrame.to_csv()`
63+ :param \*\*kw: All other kwargs are passed to :meth: `pandas.DataFrame.to_csv()`
6464
6565 """
6666 return _write_xsv (fts , f , sep = sep , ** kw )
@@ -75,7 +75,7 @@ def write_fts_csv(fts, f, sep=',', **kw):
7575 :param vals: Parameters from the metadata or location to write,
7676 ``'len'`` is also allowed,
7777 might be a string or tuple, defaults to ``'type start stop strand'``
78- :param \*\*kw: All other kwargs are passed to `pandas.DataFrame.to_csv()`
78+ :param \*\*kw: All other kwargs are passed to :meth: `pandas.DataFrame.to_csv()`
7979 """
8080 return _write_xsv (fts , f , sep = sep , ** kw )
8181
@@ -95,5 +95,3 @@ def _write_xsv(fts: FeatureList, f, vals='type start stop strand', dtype=None, i
9595 except ImportError :
9696 raise ImportError ('TSV/CSV writer depends on pandas module' )
9797 return df .to_csv (f , index = index , ** kw )
98-
99-
0 commit comments