Skip to content

DOC/CLN: typo and redundant code #11048

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 10, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ Often it will be necessary to rebuild the C extension after updating::
Building the documentation
^^^^^^^^^^^^^^^^^^^^^^^^^^

So how do you build the docs? Navigate to your local the folder
So how do you build the docs? Navigate to your local folder
``pandas/doc/`` directory in the console and run::

python make.py html
Expand Down
4 changes: 2 additions & 2 deletions doc/source/gotchas.rst
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ concise means of selecting data from a pandas object:
df
df.ix[['b', 'c', 'e']]

This is, of course, completely equivalent *in this case* to using th
This is, of course, completely equivalent *in this case* to using the
``reindex`` method:

.. ipython:: python
Expand Down Expand Up @@ -455,7 +455,7 @@ parse HTML tables in the top-level pandas io function ``read_html``.

* Drawbacks

* |lxml|_ does *not* make any guarantees about the results of it's parse
* |lxml|_ does *not* make any guarantees about the results of its parse
*unless* it is given |svm|_.

* In light of the above, we have chosen to allow you, the user, to use the
Expand Down
3 changes: 1 addition & 2 deletions pandas/core/groupby.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ def __init__(self, key=None, level=None, freq=None, axis=0, sort=False):
self.obj=None
self.indexer=None
self.binner=None
self.grouper=None

@property
def ax(self):
Expand Down Expand Up @@ -424,7 +423,7 @@ def _get_indices(self, names):
""" safe get multiple indices, translate keys for datelike to underlying repr """

def get_converter(s):
# possibly convert to they actual key types
# possibly convert to the actual key types
# in the indices, could be a Timestamp or a np.datetime64
if isinstance(s, (Timestamp,datetime.datetime)):
return lambda key: Timestamp(key)
Expand Down