Skip to content

Commit 1b79cdc

Browse files
author
Marc Garcia
committed
minor fixes to pandas setup documentation
1 parent dbb82a3 commit 1b79cdc

File tree

5 files changed

+18
-26
lines changed

5 files changed

+18
-26
lines changed

pandas/YBU_logo.png

-66.4 KB
Binary file not shown.

pandas/guide/_sources/pandas_setup.rst.txt

+6-9
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ To get the latest development version:
4141

4242
.. note::
4343
**Window Users**: run the next commands in a Git Bash session in the directory where you want
44-
to download pandas source code (download git for Windows <https://gitforwindows.org/> if needed).
44+
to download pandas source code (download `Git for Windows <https://gitforwindows.org/>`_ if needed).
4545

4646
* In the terminal of your computer, in the directory where you want the copy of pandas source code, run:
4747

@@ -82,13 +82,10 @@ Besides the Python `.py` files, pandas source code includes C/Cython files
8282
which need to be compiled in order to run the development version of pandas.
8383

8484
.. note::
85-
**Window Users**: you need to install the compiler toolset:
86-
87-
For Python 3.6 - Install Visual Studio 2017, select the Python development workload
88-
and the Native development tools option <https://www.visualstudio.com/>.
89-
90-
For Python 2.7 - Microsoft Visual C++ Compiler for Python 2.7
91-
<https://www.microsoft.com/download/details.aspx?id=44266>.
85+
**Window Users**: to compile pandas, you need to install `Visual Studio 2017 <https://www.visualstudio.com/>`_.
86+
Select the Python development workload and the Native development tools option.
87+
88+
(Users of legacy Python 2.7 should install `Microsoft Visual C++ Compiler for Python 2.7 <https://www.microsoft.com/download/details.aspx?id=44266>`_ instead).
9289

9390
After the installation, run the following commands in Anaconda Prompt.
9491

@@ -108,7 +105,7 @@ to submit a pull request, so they are included in pandas.
108105

109106
.. note::
110107
**Window users**: run the next commands with Git Bash started at the cloned
111-
pandas folder
108+
pandas folder.
112109

113110
You can create a git branch running:
114111
| ``git checkout -b <new_branch_name>``

pandas/guide/pandas_setup.html

+5-7
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ <h3>2. Get the pandas source code<a class="headerlink" href="#get-the-pandas-sou
7676
<div class="admonition note">
7777
<p class="first admonition-title">Note</p>
7878
<p class="last"><strong>Window Users</strong>: run the next commands in a Git Bash session in the directory where you want
79-
to download pandas source code (download git for Windows &lt;<a class="reference external" href="https://gitforwindows.org/">https://gitforwindows.org/</a>&gt; if needed).</p>
79+
to download pandas source code (download <a class="reference external" href="https://gitforwindows.org/">Git for Windows</a> if needed).</p>
8080
</div>
8181
<ul>
8282
<li><p class="first">In the terminal of your computer, in the directory where you want the copy of pandas source code, run:</p>
@@ -141,11 +141,9 @@ <h3>4. Compile C code in pandas<a class="headerlink" href="#compile-c-code-in-pa
141141
which need to be compiled in order to run the development version of pandas.</p>
142142
<div class="admonition note">
143143
<p class="first admonition-title">Note</p>
144-
<p><strong>Window Users</strong>: you need to install the compiler toolset:</p>
145-
<p>For Python 3.6 - Install Visual Studio 2017, select the Python development workload
146-
and the Native development tools option &lt;<a class="reference external" href="https://www.visualstudio.com/">https://www.visualstudio.com/</a>&gt;.</p>
147-
<p>For Python 2.7 - Microsoft Visual C++ Compiler for Python 2.7
148-
&lt;<a class="reference external" href="https://www.microsoft.com/download/details.aspx?id=44266">https://www.microsoft.com/download/details.aspx?id=44266</a>&gt;.</p>
144+
<p><strong>Window Users</strong>: to compile pandas, you need to install <a class="reference external" href="https://www.visualstudio.com/">Visual Studio 2017</a>.
145+
Select the Python development workload and the Native development tools option.</p>
146+
<p>(Users of legacy Python 2.7 should install <a class="reference external" href="https://www.microsoft.com/download/details.aspx?id=44266">Microsoft Visual C++ Compiler for Python 2.7</a> instead).</p>
149147
<p class="last">After the installation, run the following commands in Anaconda Prompt.</p>
150148
</div>
151149
<dl class="docutils">
@@ -167,7 +165,7 @@ <h3>5. Create a branch and start coding<a class="headerlink" href="#create-a-bra
167165
<div class="admonition note">
168166
<p class="first admonition-title">Note</p>
169167
<p class="last"><strong>Window users</strong>: run the next commands with Git Bash started at the cloned
170-
pandas folder</p>
168+
pandas folder.</p>
171169
</div>
172170
<dl class="docutils">
173171
<dt>You can create a git branch running:</dt>

0 commit comments

Comments
 (0)