Skip to content
This repository was archived by the owner on Feb 2, 2024. It is now read-only.

Commit aa6898b

Browse files
authored
Fix Series docs (#774)
1 parent c8d370c commit aa6898b

1 file changed

Lines changed: 18 additions & 18 deletions

File tree

sdc/datatypes/hpat_pandas_series_functions.py

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1828,34 +1828,34 @@ def hpat_pandas_series_astype(self, dtype, copy=True, errors='raise'):
18281828
18291829
Limitations
18301830
-----------
1831-
- Currently copy=False is not supported
1831+
- Parameter ``copy`` is supported only with default value ``True``.
18321832
18331833
Examples
18341834
--------
18351835
.. literalinclude:: ../../../examples/series/series_astype.py
18361836
:language: python
18371837
:lines: 36-
1838-
:caption: Cast a pandas object to a specified dtype dtype.
1838+
:caption: Cast a pandas object to a specified dtype.
18391839
:name: ex_series_astype
18401840
18411841
.. command-output:: python ./series/series_astype.py
18421842
:cwd: ../../../examples
18431843
18441844
.. seealso::
18451845
1846-
`pandas.absolute
1846+
`pandas.to_datetime
18471847
<https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.to_datetime.html#pandas.to_datetime>`_
18481848
Convert argument to datetime.
18491849
1850-
`pandas.absolute
1850+
`pandas.to_timedelta
18511851
<https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.to_timedelta.html#pandas.to_timedelta>`_
18521852
Convert argument to timedelta.
18531853
1854-
`pandas.absolute
1854+
`pandas.to_numeric
18551855
<https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.to_numeric.html#pandas.to_numeric>`_
18561856
Convert argument to a numeric type.
18571857
1858-
`numpy.absolute
1858+
`numpy.ndarray.astype
18591859
<https://docs.scipy.org/doc/numpy/reference/generated/numpy.ndarray.astype.html#numpy.ndarray.astype>`_
18601860
Copy of the array, cast to a specified type.
18611861
@@ -3460,7 +3460,7 @@ def hpat_pandas_series_rename(self, index=None, copy=True, inplace=False, level=
34603460
34613461
Limitations
34623462
-----------
3463-
- Parameter level is currently unsupported by Intel Scalable Dataframe Compiler
3463+
- Parameter ``level`` is currently unsupported by Intel Scalable Dataframe Compiler.
34643464
34653465
Examples
34663466
--------
@@ -3962,8 +3962,8 @@ def hpat_pandas_series_idxmin(self, axis=None, skipna=None):
39623962
39633963
Limitations
39643964
-----------
3965-
Parameter ``axis`` is supported only with default value ``None``.
3966-
Parameter ``skipna`` cannot be ``False`` with data of string type.
3965+
- Parameter ``axis`` is supported only with default value ``None``.
3966+
- Parameter ``skipna`` cannot be ``False`` with data of string type.
39673967
39683968
Examples
39693969
--------
@@ -3981,7 +3981,7 @@ def hpat_pandas_series_idxmin(self, axis=None, skipna=None):
39813981
:ref:`Series.idxmax <pandas.Series.idxmax>`
39823982
Return index label of the first occurrence of maximum of values.
39833983
3984-
`numpy.absolute <https://docs.scipy.org/doc/numpy/reference/generated/numpy.argmin.html#numpy.argmin>`_
3984+
`numpy.argmin <https://docs.scipy.org/doc/numpy/reference/generated/numpy.argmin.html#numpy.argmin>`_
39853985
Return indices of the minimum values along the given axis.
39863986
39873987
:ref:`DataFrame.idxmin <pandas.DataFrame.idxmin>`
@@ -4562,7 +4562,6 @@ def hpat_pandas_series_median(self, axis=None, skipna=None, level=None, numeric_
45624562
45634563
Limitations
45644564
-----------
4565-
45664565
- Parameters ``axis``, ``level`` and ``numeric_only`` are supported only with default value ``None``.
45674566
45684567
Examples
@@ -4862,7 +4861,7 @@ def hpat_pandas_series_dropna(self, axis=0, inplace=False):
48624861
48634862
Limitations
48644863
-----------
4865-
- Parameter ``inplace`` is currently unsupported by Intel Scalable Dataframe Compiler
4864+
- Parameters ``inplace`` and ``axis`` are currently unsupported by Intel Scalable Dataframe Compiler.
48664865
48674866
Examples
48684867
--------
@@ -4889,7 +4888,7 @@ def hpat_pandas_series_dropna(self, axis=0, inplace=False):
48894888
:ref:`DataFrame.dropna <pandas.DataFrame.dropna>`
48904889
Drop rows or columns which contain NA values.
48914890
4892-
`pandas.absolute
4891+
`pandas.Index.dropna
48934892
<https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Index.dropna.html#pandas.Index.dropna>`_
48944893
Return Index without NA/NaN values
48954894
@@ -4940,8 +4939,9 @@ def hpat_pandas_series_fillna(self, value=None, method=None, axis=None, inplace=
49404939
49414940
Limitations
49424941
-----------
4943-
- Parameters ``method``, ``limit`` and ``downcast`` are currently unsupported by Intel Scalable Dataframe Compiler.
4944-
- Parameter ``inplace`` is supported as literal value only.
4942+
- Parameters ``method``, ``limit`` and ``downcast`` are currently unsupported
4943+
by Intel Scalable Dataframe Compiler.
4944+
- Parameter ``inplace`` is supported with literal value only.
49454945
49464946
Examples
49474947
--------
@@ -4956,15 +4956,15 @@ def hpat_pandas_series_fillna(self, value=None, method=None, axis=None, inplace=
49564956
49574957
.. seealso::
49584958
4959-
`pandas.absolute
4959+
`pandas.interpolate
49604960
<https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Series.interpolate.html#pandas.Series.interpolate>`_
49614961
Fill NaN values using interpolation.
49624962
4963-
`pandas.absolute
4963+
`pandas.reindex
49644964
<https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Series.reindex.html#pandas.Series.reindex>`_
49654965
Conform object to new index.
49664966
4967-
`pandas.absolute
4967+
`pandas.asfreq
49684968
<https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Series.asfreq.html#pandas.Series.asfreq>`_
49694969
Convert TimeSeries to specified frequency.
49704970

0 commit comments

Comments
 (0)