diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 9d17827d55951..b7974e5764100 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -8525,7 +8525,7 @@ def melt( @doc( Series.diff, - klass="Dataframe", + klass="DataFrame", extra_params="axis : {0 or 'index', 1 or 'columns'}, default 0\n " "Take difference over rows (0) or columns (1).\n", other_klass="Series",