Skip to content

Commit a59a7ea

Browse files
committed
Merge pull request pandas-dev#7906 from mortada/grammar
DOC: grammar fixes in docs
2 parents 8d80a42 + f758bf0 commit a59a7ea

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

doc/source/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@
293293
'import numpy as np',
294294
'import pandas as pd',
295295
# This ensures correct rendering on system with console encoding != utf8
296-
# (windows). It forces pandas to encode it's output reprs using utf8
296+
# (windows). It forces pandas to encode its output reprs using utf8
297297
# whereever the docs are built. The docs' target is the browser, not
298298
# the console, so this is fine.
299299
'pd.options.display.encoding="utf8"'

pandas/core/config_init.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
: boolean
122122
Whether to print out the full DataFrame repr for wide DataFrames across
123123
multiple lines, `max_columns` is still respected, but the output will
124-
wrap-around across multiple "pages" if it's width exceeds `display.width`.
124+
wrap-around across multiple "pages" if its width exceeds `display.width`.
125125
"""
126126

127127
pc_show_dimensions_doc = """

pandas/core/frame.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ def _repr_html_(self):
471471
Return a html representation for a particular DataFrame.
472472
Mainly for IPython notebook.
473473
"""
474-
# qtconsole doesn't report it's line width, and also
474+
# qtconsole doesn't report its line width, and also
475475
# behaves badly when outputting an HTML table
476476
# that doesn't fit the window, so disable it.
477477
# XXX: In IPython 3.x and above, the Qt console will not attempt to

pandas/core/groupby.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,7 @@ def tail(self, n=5):
971971

972972
def _cumcount_array(self, arr=None, **kwargs):
973973
"""
974-
arr is where cumcount gets it's values from
974+
arr is where cumcount gets its values from
975975
976976
note: this is currently implementing sort=False (though the default is sort=True)
977977
for groupby in general

scripts/find_commits_touching_func.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def main():
178178
print("""
179179
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
180180
WARNING: this script uses git clean -f, running it on a repo with untracked files.
181-
It's recommended that you make a fresh clone and run from it's root directory.
181+
It's recommended that you make a fresh clone and run from its root directory.
182182
You must specify the -y argument to ignore this warning.
183183
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
184184
""")

vb_suite/test_perf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
# in some cases then running vbench directly (think perf bisection).
3737
#
3838
# *please*, when you modify this script for whatever reason,
39-
# make sure you do not break it's functionality when running under older
39+
# make sure you do not break its functionality when running under older
4040
# pandas versions.
4141
# Note that depreaction warnings are turned off in main(), so there's
4242
# no need to change the actual code to supress such warnings.

0 commit comments

Comments
 (0)