From eb401a163aa572d87e16848cd79e4ca956c284ea Mon Sep 17 00:00:00 2001 From: MarsGuy Date: Sun, 1 Oct 2017 16:57:06 +0530 Subject: [PATCH] DOC: Fixed typo in documentation for 'pandas.DataFrame.replace' * Replaced 'form' to 'from' for the 'inplace' parameter. --- pandas/core/generic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 2fb0e348c01c0..6fd4f3eeb6b90 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -4260,7 +4260,7 @@ def replace(self, to_replace=None, value=None, inplace=False, limit=None, dicts of such objects are also allowed. inplace : boolean, default False If True, in place. Note: this will modify any - other views on this object (e.g. a column form a DataFrame). + other views on this object (e.g. a column from a DataFrame). Returns the caller if this is True. limit : int, default None Maximum size gap to forward or backward fill