Skip to content

Commit fee7a7d

Browse files
author
bthayer2365
authored
Merge branch 'master' into frozen-index
2 parents 6a2b48d + d0a281f commit fee7a7d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+523
-2867
lines changed

ci/requirements-2.7.pip

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
blosc
2-
httplib2
3-
google-api-python-client==1.2
4-
python-gflags==2.0
5-
oauth2client==1.5.0
2+
pandas-gbq
63
pathlib
74
backports.lzma
85
py

ci/requirements-3.4.pip

-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
11
python-dateutil==2.2
22
blosc
3-
httplib2
4-
google-api-python-client
5-
oauth2client

ci/requirements-3.4_SLOW.pip

-3
This file was deleted.

ci/requirements-3.5.pip

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
xarray==0.9.1
2+
pandas-gbq

doc/make.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,8 @@ def html():
202202
raise SystemExit("Building HTML failed.")
203203
try:
204204
# remove stale file
205-
os.system('rm source/html-styling.html')
206-
os.system('cd build; rm -f html/pandas.zip;')
205+
os.remove('source/html-styling.html')
206+
os.remove('build/html/pandas.zip')
207207
except:
208208
pass
209209

doc/source/advanced.rst

+1
Original file line numberDiff line numberDiff line change
@@ -965,6 +965,7 @@ The different indexing operation can potentially change the dtype of a ``Series`
965965
res
966966
967967
.. ipython:: python
968+
968969
series2 = pd.Series([True])
969970
series2.dtype
970971
res = series2.reindex_like(series1)

doc/source/basics.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1889,7 +1889,7 @@ gotchas
18891889

18901890
Performing selection operations on ``integer`` type data can easily upcast the data to ``floating``.
18911891
The dtype of the input data will be preserved in cases where ``nans`` are not introduced (starting in 0.11.0)
1892-
See also :ref:`Support for integer ``NA`` <gotchas.intna>`
1892+
See also :ref:`Support for integer NA <gotchas.intna>`
18931893

18941894
.. ipython:: python
18951895

doc/source/contributing.rst

+23-12
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ C (cpplint)
461461

462462
*pandas* uses the `Google <https://google.github.io/styleguide/cppguide.html>`_
463463
standard. Google provides an open source style checker called ``cpplint``, but we
464-
use a fork of it that can be found `here <https://github.com/cpplint/cpplint>`_.
464+
use a fork of it that can be found `here <https://github.com/cpplint/cpplint>`__.
465465
Here are *some* of the more common ``cpplint`` issues:
466466

467467
- we restrict line-length to 80 characters to promote readability
@@ -479,7 +479,7 @@ You can also run this command on an entire directory if necessary::
479479

480480
To make your commits compliant with this standard, you can install the
481481
`ClangFormat <http://clang.llvm.org/docs/ClangFormat.html>`_ tool, which can be
482-
downloaded `here <http://llvm.org/builds/>`_. To configure, in your home directory,
482+
downloaded `here <http://llvm.org/builds/>`__. To configure, in your home directory,
483483
run the following command::
484484

485485
clang-format style=google -dump-config > .clang-format
@@ -520,15 +520,6 @@ submitting code to run the check yourself on the diff::
520520

521521
git diff master | flake8 --diff
522522

523-
Furthermore, we've written a tool to check that your commits are PEP8 great, `pip install pep8radius
524-
<https://github.com/hayd/pep8radius>`_. Look at PEP8 fixes in your branch vs master with::
525-
526-
pep8radius master --diff
527-
528-
and make these changes with::
529-
530-
pep8radius master --diff --in-place
531-
532523
Backwards Compatibility
533524
~~~~~~~~~~~~~~~~~~~~~~~
534525

@@ -611,7 +602,27 @@ Or with one of the following constructs::
611602
pytest pandas/tests/[test-module].py::[TestClass]
612603
pytest pandas/tests/[test-module].py::[TestClass]::[test_method]
613604

614-
For more, see the `pytest<http://doc.pytest.org/en/latest/>`_ documentation.
605+
Using `pytest-xdist <https://pypi.python.org/pypi/pytest-xdist>`_, one can
606+
speed up local testing on multicore machines. To use this feature, you will
607+
need to install `pytest-xdist` via::
608+
609+
pip install pytest-xdist
610+
611+
Two scripts are provided to assist with this. These scripts distribute
612+
testing across 4 threads.
613+
614+
On Unix variants, one can type::
615+
616+
test_fast.sh
617+
618+
On Windows, one can type::
619+
620+
test_fast.bat
621+
622+
This can significantly reduce the time it takes to locally run tests before
623+
submitting a pull request.
624+
625+
For more, see the `pytest <http://doc.pytest.org/en/latest/>`_ documentation.
615626

616627
.. versionadded:: 0.20.0
617628

doc/source/install.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ Optional Dependencies
282282
okay.)
283283
* `BeautifulSoup4`_ and `lxml`_
284284
* `BeautifulSoup4`_ and `html5lib`_ and `lxml`_
285-
* Only `lxml`_, although see :ref:`HTML Table Parsing <gotchas.html>`
285+
* Only `lxml`_, although see :ref:`HTML Table Parsing <io.html.gotchas>`
286286
for reasons as to why you should probably **not** take this approach.
287287

288288
.. warning::

0 commit comments

Comments
 (0)