From f758bf0327e0a0fac0fa5cfd6deca4fdabcf7e7c Mon Sep 17 00:00:00 2001 From: Mortada Mehyar Date: Sat, 2 Aug 2014 17:00:24 -0400 Subject: [PATCH] DOC: grammar fixes in docs --- doc/source/conf.py | 2 +- pandas/core/config_init.py | 2 +- pandas/core/frame.py | 2 +- pandas/core/groupby.py | 2 +- scripts/find_commits_touching_func.py | 2 +- vb_suite/test_perf.py | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 4f01fe4f4b278..717c651d5935f 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -293,7 +293,7 @@ 'import numpy as np', 'import pandas as pd', # This ensures correct rendering on system with console encoding != utf8 - # (windows). It forces pandas to encode it's output reprs using utf8 + # (windows). It forces pandas to encode its output reprs using utf8 # whereever the docs are built. The docs' target is the browser, not # the console, so this is fine. 'pd.options.display.encoding="utf8"' diff --git a/pandas/core/config_init.py b/pandas/core/config_init.py index 9c360f7ca7697..c32796cf082d4 100644 --- a/pandas/core/config_init.py +++ b/pandas/core/config_init.py @@ -121,7 +121,7 @@ : boolean Whether to print out the full DataFrame repr for wide DataFrames across multiple lines, `max_columns` is still respected, but the output will - wrap-around across multiple "pages" if it's width exceeds `display.width`. + wrap-around across multiple "pages" if its width exceeds `display.width`. """ pc_show_dimensions_doc = """ diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 4b8d13ce30355..57ddefcc106d3 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -471,7 +471,7 @@ def _repr_html_(self): Return a html representation for a particular DataFrame. Mainly for IPython notebook. """ - # qtconsole doesn't report it's line width, and also + # qtconsole doesn't report its line width, and also # behaves badly when outputting an HTML table # that doesn't fit the window, so disable it. # XXX: In IPython 3.x and above, the Qt console will not attempt to diff --git a/pandas/core/groupby.py b/pandas/core/groupby.py index 93be135e9ff40..8cfa0e25b789f 100644 --- a/pandas/core/groupby.py +++ b/pandas/core/groupby.py @@ -971,7 +971,7 @@ def tail(self, n=5): def _cumcount_array(self, arr=None, **kwargs): """ - arr is where cumcount gets it's values from + arr is where cumcount gets its values from note: this is currently implementing sort=False (though the default is sort=True) for groupby in general diff --git a/scripts/find_commits_touching_func.py b/scripts/find_commits_touching_func.py index e4c24b8c3bcbb..099761f38bb44 100755 --- a/scripts/find_commits_touching_func.py +++ b/scripts/find_commits_touching_func.py @@ -178,7 +178,7 @@ def main(): print(""" !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! WARNING: this script uses git clean -f, running it on a repo with untracked files. -It's recommended that you make a fresh clone and run from it's root directory. +It's recommended that you make a fresh clone and run from its root directory. You must specify the -y argument to ignore this warning. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! """) diff --git a/vb_suite/test_perf.py b/vb_suite/test_perf.py index 66e50269f00c6..8cf832ade2813 100755 --- a/vb_suite/test_perf.py +++ b/vb_suite/test_perf.py @@ -36,7 +36,7 @@ # in some cases then running vbench directly (think perf bisection). # # *please*, when you modify this script for whatever reason, -# make sure you do not break it's functionality when running under older +# make sure you do not break its functionality when running under older # pandas versions. # Note that depreaction warnings are turned off in main(), so there's # no need to change the actual code to supress such warnings.