@@ -947,32 +947,67 @@ def min_overload(df, axis=None, skipna=None, level=None, numeric_only=None):
947947@sdc_overload_method (DataFrameType , 'sum' )
948948def sum_overload (df , axis = None , skipna = None , level = None , numeric_only = None , min_count = 0 ):
949949 """
950- Pandas DataFrame method :meth:`pandas.DataFrame.sum` implementation.
950+ Intel Scalable Dataframe Compiler User Guide
951+ ********************************************
951952
952- .. only:: developer
953+ Pandas API: pandas.DataFrame.sum
953954
954- Test: python -m sdc.runtests -k sdc.tests.test_dataframe.TestDataFrame.test_sum*
955+ Limitations
956+ -----------
957+ Parameters ``axis``, ``level``, ``numeric_only`` and ``min_count`` are unsupported.
955958
956- Parameters
957- -----------
958- df: :class:`pandas.DataFrame`
959- input arg
960- axis:
961- *unsupported*
962- skipna:
963- *unsupported*
964- level:
965- *unsupported*
966- numeric_only:
967- *unsupported*
968- min_count:
969- *unsupported*
959+ Examples
960+ --------
961+ .. literalinclude:: ../../../examples/dataframe/dataframe_sum.py
962+ :language: python
963+ :lines: 35-
964+ :caption: Return the sum of the values for the columns.
965+ :name: ex_dataframe_sum
970966
971- Returns
972- -------
973- :obj:`pandas.Series` or `pandas.DataFrame`
974- return the sum of the values for the requested axis.
975- """
967+ .. command-output:: python ./dataframe/dataframe_sum.py
968+ :cwd: ../../../examples
969+
970+ .. seealso::
971+
972+ :ref:`Series.sum <pandas.Series.sum>`
973+ Return the sum.
974+
975+ :ref:`Series.min <pandas.Series.min>`
976+ Return the minimum.
977+
978+ :ref:`Series.max <pandas.Series.max>`
979+ Return the maximum.
980+
981+ :ref:`Series.idxmin <pandas.Series.idxmin>`
982+ Return the index of the minimum.
983+
984+ :ref:`Series.idxmax <pandas.Series.idxmax>`
985+ Return the index of the maximum.
986+
987+ :ref:`DataFrame.sum <pandas.DataFrame.sum>`
988+ Return the sum over the requested axis.
989+
990+ :ref:`DataFrame.min <pandas.DataFrame.min>`
991+ Return the minimum over the requested axis.
992+
993+ :ref:`DataFrame.max <pandas.DataFrame.max>`
994+ Return the maximum over the requested axis.
995+
996+ :ref:`DataFrame.idxmin <pandas.DataFrame.idxmin>`
997+ Return the index of the minimum over the requested axis.
998+
999+ :ref:`DataFrame.idxmax <pandas.DataFrame.idxmax>`
1000+ Return the index of the maximum over the requested axis.
1001+
1002+ Intel Scalable Dataframe Compiler Developer Guide
1003+ *************************************************
1004+
1005+ Pandas DataFrame method :meth:`pandas.DataFrame.sum` implementation.
1006+
1007+ .. only:: developer
1008+
1009+ Test: python -m sdc.runtests -k sdc.tests.test_dataframe.TestDataFrame.test_sum*
1010+ """
9761011
9771012 name = 'sum'
9781013
0 commit comments