Skip to content

Commit 7d40f18

Browse files
jrebackjorisvandenbossche
authored andcommitted
DOC: pydata/pandas -> pandas-dev/pandas (pandas-dev#14409)
1 parent a40e185 commit 7d40f18

Some content is hidden

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

64 files changed

+118
-118
lines changed

asv_bench/benchmarks/attrs_caching.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ def setup(self):
2020
self.cur_index = self.df.index
2121

2222
def time_setattr_dataframe_index(self):
23-
self.df.index = self.cur_index
23+
self.df.index = self.cur_index

asv_bench/benchmarks/ctors.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@ def setup(self):
4949
self.s = Series(([Timestamp('20110101'), Timestamp('20120101'), Timestamp('20130101')] * 1000))
5050

5151
def time_index_from_series_ctor(self):
52-
Index(self.s)
52+
Index(self.s)

asv_bench/benchmarks/frame_ctor.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1703,4 +1703,4 @@ def setup(self):
17031703
self.dict_list = [dict(zip(self.columns, row)) for row in self.frame.values]
17041704

17051705
def time_series_ctor_from_dict(self):
1706-
Series(self.some_dict)
1706+
Series(self.some_dict)

asv_bench/benchmarks/hdfstore_bench.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -348,4 +348,4 @@ def remove(self, f):
348348
try:
349349
os.remove(self.f)
350350
except:
351-
pass
351+
pass

asv_bench/benchmarks/index_object.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -344,4 +344,4 @@ def setup(self):
344344
self.mi = MultiIndex.from_product([self.level1, self.level2])
345345

346346
def time_multiindex_with_datetime_level_sliced(self):
347-
self.mi[:10].values
347+
self.mi[:10].values

asv_bench/benchmarks/io_sql.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -212,4 +212,4 @@ def setup(self):
212212
self.df = DataFrame({'float1': randn(10000), 'float2': randn(10000), 'string1': (['foo'] * 10000), 'bool1': ([True] * 10000), 'int1': np.random.randint(0, 100000, size=10000), }, index=self.index)
213213

214214
def time_sql_write_sqlalchemy(self):
215-
self.df.to_sql('test1', self.engine, if_exists='replace')
215+
self.df.to_sql('test1', self.engine, if_exists='replace')

asv_bench/benchmarks/panel_ctor.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,4 @@ def setup(self):
6161
self.data_frames[x] = self.df
6262

6363
def time_panel_from_dict_two_different_indexes(self):
64-
Panel.from_dict(self.data_frames)
64+
Panel.from_dict(self.data_frames)

asv_bench/benchmarks/panel_methods.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,4 @@ def setup(self):
5353
self.panel = Panel(np.random.randn(100, len(self.index), 1000))
5454

5555
def time_panel_shift_minor(self):
56-
self.panel.shift(1, axis='minor')
56+
self.panel.shift(1, axis='minor')

asv_bench/benchmarks/replace.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ def setup(self):
4545
self.ts = Series(np.random.randn(self.N), index=self.rng)
4646

4747
def time_replace_replacena(self):
48-
self.ts.replace(np.nan, 0.0, inplace=True)
48+
self.ts.replace(np.nan, 0.0, inplace=True)

asv_bench/benchmarks/reshape.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,4 @@ def setup(self):
7373
break
7474

7575
def time_unstack_sparse_keyspace(self):
76-
self.idf.unstack()
76+
self.idf.unstack()

asv_bench/benchmarks/stat_ops.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -258,4 +258,4 @@ def time_rolling_skew(self):
258258
rolling_skew(self.arr, self.win)
259259

260260
def time_rolling_kurt(self):
261-
rolling_kurt(self.arr, self.win)
261+
rolling_kurt(self.arr, self.win)

asv_bench/benchmarks/strings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -390,4 +390,4 @@ def time_strings_upper(self):
390390
self.many.str.upper()
391391

392392
def make_series(self, letters, strlen, size):
393-
return Series([str(x) for x in np.fromiter(IT.cycle(letters), count=(size * strlen), dtype='|S1').view('|S{}'.format(strlen))])
393+
return Series([str(x) for x in np.fromiter(IT.cycle(letters), count=(size * strlen), dtype='|S1').view('|S{}'.format(strlen))])

doc/README.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,9 @@ Where to start?
155155
---------------
156156

157157
There are a number of issues listed under `Docs
158-
<https://github.com/pydata/pandas/issues?labels=Docs&sort=updated&state=open>`_
158+
<https://github.com/pandas-dev/pandas/issues?labels=Docs&sort=updated&state=open>`_
159159
and `Good as first PR
160-
<https://github.com/pydata/pandas/issues?labels=Good+as+first+PR&sort=updated&state=open>`_
160+
<https://github.com/pandas-dev/pandas/issues?labels=Good+as+first+PR&sort=updated&state=open>`_
161161
where you could start out.
162162

163163
Or maybe you have an idea of your own, by using pandas, looking for something

doc/_templates/autosummary/accessor_attribute.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44
.. currentmodule:: {{ module.split('.')[0] }}
55

6-
.. autoaccessorattribute:: {{ [module.split('.')[1], objname]|join('.') }}
6+
.. autoaccessorattribute:: {{ [module.split('.')[1], objname]|join('.') }}

doc/_templates/autosummary/accessor_method.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44
.. currentmodule:: {{ module.split('.')[0] }}
55

6-
.. autoaccessormethod:: {{ [module.split('.')[1], objname]|join('.') }}
6+
.. autoaccessormethod:: {{ [module.split('.')[1], objname]|join('.') }}

doc/source/categorical.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -973,7 +973,7 @@ are not numeric data (even in the case that ``.categories`` is numeric).
973973
print("TypeError: " + str(e))
974974
975975
.. note::
976-
If such a function works, please file a bug at https://github.com/pydata/pandas!
976+
If such a function works, please file a bug at https://github.com/pandas-dev/pandas!
977977

978978
dtype in apply
979979
~~~~~~~~~~~~~~

doc/source/comparison_with_sas.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ Reading External Data
116116

117117
Like SAS, pandas provides utilities for reading in data from
118118
many formats. The ``tips`` dataset, found within the pandas
119-
tests (`csv <https://raw.github.com/pydata/pandas/master/pandas/tests/data/tips.csv>`_)
119+
tests (`csv <https://raw.github.com/pandas-dev/pandas/master/pandas/tests/data/tips.csv>`_)
120120
will be used in many of the following examples.
121121

122122
SAS provides ``PROC IMPORT`` to read csv data into a data set.
@@ -131,7 +131,7 @@ The pandas method is :func:`read_csv`, which works similarly.
131131

132132
.. ipython:: python
133133
134-
url = 'https://raw.github.com/pydata/pandas/master/pandas/tests/data/tips.csv'
134+
url = 'https://raw.github.com/pandas-dev/pandas/master/pandas/tests/data/tips.csv'
135135
tips = pd.read_csv(url)
136136
tips.head()
137137

doc/source/comparison_with_sql.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ structure.
2323

2424
.. ipython:: python
2525
26-
url = 'https://raw.github.com/pydata/pandas/master/pandas/tests/data/tips.csv'
26+
url = 'https://raw.github.com/pandas-dev/pandas/master/pandas/tests/data/tips.csv'
2727
tips = pd.read_csv(url)
2828
tips.head()
2929

doc/source/conf.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -301,9 +301,9 @@
301301
autosummary_generate = glob.glob("*.rst")
302302

303303
# extlinks alias
304-
extlinks = {'issue': ('https://github.com/pydata/pandas/issues/%s',
304+
extlinks = {'issue': ('https://github.com/pandas-dev/pandas/issues/%s',
305305
'GH'),
306-
'wiki': ('https://github.com/pydata/pandas/wiki/%s',
306+
'wiki': ('https://github.com/pandas-dev/pandas/wiki/%s',
307307
'wiki ')}
308308

309309
ipython_exec_lines = [
@@ -468,10 +468,10 @@ def linkcode_resolve(domain, info):
468468
fn = os.path.relpath(fn, start=os.path.dirname(pandas.__file__))
469469

470470
if '+' in pandas.__version__:
471-
return "http://github.com/pydata/pandas/blob/master/pandas/%s%s" % (
471+
return "http://github.com/pandas-dev/pandas/blob/master/pandas/%s%s" % (
472472
fn, linespec)
473473
else:
474-
return "http://github.com/pydata/pandas/blob/v%s/pandas/%s%s" % (
474+
return "http://github.com/pandas-dev/pandas/blob/v%s/pandas/%s%s" % (
475475
pandas.__version__, fn, linespec)
476476

477477

doc/source/contributing.rst

+15-15
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ All contributions, bug reports, bug fixes, documentation improvements,
1414
enhancements and ideas are welcome.
1515

1616
If you are simply looking to start working with the *pandas* codebase, navigate to the
17-
`GitHub "issues" tab <https://github.com/pydata/pandas/issues>`_ and start looking through
17+
`GitHub "issues" tab <https://github.com/pandas-dev/pandas/issues>`_ and start looking through
1818
interesting issues. There are a number of issues listed under `Docs
19-
<https://github.com/pydata/pandas/issues?labels=Docs&sort=updated&state=open>`_
19+
<https://github.com/pandas-dev/pandas/issues?labels=Docs&sort=updated&state=open>`_
2020
and `Difficulty Novice
21-
<https://github.com/pydata/pandas/issues?q=is%3Aopen+is%3Aissue+label%3A%22Difficulty+Novice%22>`_
21+
<https://github.com/pandas-dev/pandas/issues?q=is%3Aopen+is%3Aissue+label%3A%22Difficulty+Novice%22>`_
2222
where you could start out.
2323

2424
Or maybe through using *pandas* you have an idea of your own or are looking for something
@@ -27,7 +27,7 @@ about it!
2727

2828
Feel free to ask questions on the `mailing list
2929
<https://groups.google.com/forum/?fromgroups#!forum/pydata>`_ or on `Gitter
30-
<https://gitter.im/pydata/pandas>`_.
30+
<https://gitter.im/pandas-dev/pandas>`_.
3131

3232
Bug reports and enhancement requests
3333
====================================
@@ -79,7 +79,7 @@ It can very quickly become overwhelming, but sticking to the guidelines below wi
7979
straightforward and mostly trouble free. As always, if you are having difficulties please
8080
feel free to ask for help.
8181

82-
The code is hosted on `GitHub <https://www.github.com/pydata/pandas>`_. To
82+
The code is hosted on `GitHub <https://www.github.com/pandas-dev/pandas>`_. To
8383
contribute you will need to sign up for a `free GitHub account
8484
<https://github.com/signup/free>`_. We use `Git <http://git-scm.com/>`_ for
8585
version control to allow many people to work together on the project.
@@ -103,12 +103,12 @@ Forking
103103
-------
104104

105105
You will need your own fork to work on the code. Go to the `pandas project
106-
page <https://github.com/pydata/pandas>`_ and hit the ``Fork`` button. You will
106+
page <https://github.com/pandas-dev/pandas>`_ and hit the ``Fork`` button. You will
107107
want to clone your fork to your machine::
108108

109109
git clone git@github.com:your-user-name/pandas.git pandas-yourname
110110
cd pandas-yourname
111-
git remote add upstream git://github.com/pydata/pandas.git
111+
git remote add upstream git://github.com/pandas-dev/pandas.git
112112

113113
This creates the directory `pandas-yourname` and connects your repository to
114114
the upstream (main project) *pandas* repository.
@@ -467,7 +467,7 @@ and make these changes with::
467467
pep8radius master --diff --in-place
468468

469469
Additional standards are outlined on the `code style wiki
470-
page <https://github.com/pydata/pandas/wiki/Code-Style-and-Conventions>`_.
470+
page <https://github.com/pandas-dev/pandas/wiki/Code-Style-and-Conventions>`_.
471471

472472
Please try to maintain backward compatibility. *pandas* has lots of users with lots of
473473
existing code, so don't break it if at all possible. If you think breakage is required,
@@ -501,7 +501,7 @@ All tests should go into the ``tests`` subdirectory of the specific package.
501501
This folder contains many current examples of tests, and we suggest looking to these for
502502
inspiration. If your test requires working with files or
503503
network connectivity, there is more information on the `testing page
504-
<https://github.com/pydata/pandas/wiki/Testing>`_ of the wiki.
504+
<https://github.com/pandas-dev/pandas/wiki/Testing>`_ of the wiki.
505505

506506
The ``pandas.util.testing`` module has many special ``assert`` functions that
507507
make it easier to make statements about whether Series or DataFrame objects are
@@ -639,7 +639,7 @@ on Travis-CI. The first step is to create a `service account
639639
Integration tests for ``pandas.io.gbq`` are skipped in pull requests because
640640
the credentials that are required for running Google BigQuery integration
641641
tests are `encrypted <https://docs.travis-ci.com/user/encrypting-files/>`__
642-
on Travis-CI and are only accessible from the pydata/pandas repository. The
642+
on Travis-CI and are only accessible from the pandas-dev/pandas repository. The
643643
credentials won't be available on forks of pandas. Here are the steps to run
644644
gbq integration tests on a forked repository:
645645

@@ -688,7 +688,7 @@ performance regressions.
688688

689689
You can run specific benchmarks using the ``-r`` flag, which takes a regular expression.
690690

691-
See the `performance testing wiki <https://github.com/pydata/pandas/wiki/Performance-Testing>`_ for information
691+
See the `performance testing wiki <https://github.com/pandas-dev/pandas/wiki/Performance-Testing>`_ for information
692692
on how to write a benchmark.
693693

694694
Documenting your code
@@ -712,8 +712,8 @@ directive is used. The sphinx syntax for that is:
712712
713713
This will put the text *New in version 0.17.0* wherever you put the sphinx
714714
directive. This should also be put in the docstring when adding a new function
715-
or method (`example <https://github.com/pydata/pandas/blob/v0.16.2/pandas/core/generic.py#L1959>`__)
716-
or a new keyword argument (`example <https://github.com/pydata/pandas/blob/v0.16.2/pandas/core/frame.py#L1171>`__).
715+
or method (`example <https://github.com/pandas-dev/pandas/blob/v0.16.2/pandas/core/generic.py#L1959>`__)
716+
or a new keyword argument (`example <https://github.com/pandas-dev/pandas/blob/v0.16.2/pandas/core/frame.py#L1171>`__).
717717

718718
Contributing your changes to *pandas*
719719
=====================================
@@ -806,8 +806,8 @@ like::
806806

807807
origin git@github.com:yourname/pandas.git (fetch)
808808
origin git@github.com:yourname/pandas.git (push)
809-
upstream git://github.com/pydata/pandas.git (fetch)
810-
upstream git://github.com/pydata/pandas.git (push)
809+
upstream git://github.com/pandas-dev/pandas.git (fetch)
810+
upstream git://github.com/pandas-dev/pandas.git (push)
811811

812812
Now your code is on GitHub, but it is not yet a part of the *pandas* project. For that to
813813
happen, a pull request needs to be submitted on GitHub.

doc/source/cookbook.rst

+7-7
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ The :ref:`indexing <indexing>` docs.
200200
df[(df.AAA <= 6) & (df.index.isin([0,2,4]))]
201201
202202
`Use loc for label-oriented slicing and iloc positional slicing
203-
<https://github.com/pydata/pandas/issues/2904>`__
203+
<https://github.com/pandas-dev/pandas/issues/2904>`__
204204

205205
.. ipython:: python
206206
@@ -410,7 +410,7 @@ Sorting
410410
df.sort_values(by=('Labs', 'II'), ascending=False)
411411
412412
`Partial Selection, the need for sortedness;
413-
<https://github.com/pydata/pandas/issues/2995>`__
413+
<https://github.com/pandas-dev/pandas/issues/2995>`__
414414

415415
Levels
416416
******
@@ -787,7 +787,7 @@ The :ref:`Resample <timeseries.resampling>` docs.
787787
<http://stackoverflow.com/questions/14569223/timegrouper-pandas>`__
788788

789789
`Using TimeGrouper and another grouping to create subgroups, then apply a custom function
790-
<https://github.com/pydata/pandas/issues/3791>`__
790+
<https://github.com/pandas-dev/pandas/issues/3791>`__
791791

792792
`Resampling with custom periods
793793
<http://stackoverflow.com/questions/15408156/resampling-with-custom-periods>`__
@@ -823,7 +823,7 @@ ignore_index is needed in pandas < v0.13, and depending on df construction
823823
df = df1.append(df2,ignore_index=True); df
824824
825825
`Self Join of a DataFrame
826-
<https://github.com/pydata/pandas/issues/2996>`__
826+
<https://github.com/pandas-dev/pandas/issues/2996>`__
827827

828828
.. ipython:: python
829829
@@ -936,7 +936,7 @@ using that handle to read.
936936
<http://stackoverflow.com/questions/15555005/get-inferred-dataframe-types-iteratively-using-chunksize>`__
937937

938938
`Dealing with bad lines
939-
<http://github.com/pydata/pandas/issues/2886>`__
939+
<http://github.com/pandas-dev/pandas/issues/2886>`__
940940

941941
`Dealing with bad lines II
942942
<http://nipunbatra.github.io/2013/06/reading-unclean-data-csv-using-pandas/>`__
@@ -1075,7 +1075,7 @@ The :ref:`HDFStores <io.hdf5>` docs
10751075
<http://stackoverflow.com/questions/13926089/selecting-columns-from-pandas-hdfstore-table>`__
10761076

10771077
`Managing heterogeneous data using a linked multiple table hierarchy
1078-
<http://github.com/pydata/pandas/issues/3032>`__
1078+
<http://github.com/pandas-dev/pandas/issues/3032>`__
10791079

10801080
`Merging on-disk tables with millions of rows
10811081
<http://stackoverflow.com/questions/14614512/merging-two-tables-with-millions-of-rows-in-python/14617925#14617925>`__
@@ -1216,7 +1216,7 @@ Timedeltas
12161216
The :ref:`Timedeltas <timedeltas.timedeltas>` docs.
12171217

12181218
`Using timedeltas
1219-
<http://github.com/pydata/pandas/pull/2899>`__
1219+
<http://github.com/pandas-dev/pandas/pull/2899>`__
12201220

12211221
.. ipython:: python
12221222

doc/source/ecosystem.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ both "column wise min/max and global min/max coloring."
143143
API
144144
-----
145145

146-
`pandas-datareader <https://github.com/pydata/pandas-datareader>`__
146+
`pandas-datareader <https://github.com/pandas-dev/pandas-datareader>`__
147147
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
148148
``pandas-datareader`` is a remote data access library for pandas. ``pandas.io`` from pandas < 0.17.0 is now refactored/split-off to and importable from ``pandas_datareader`` (PyPI:``pandas-datareader``). Many/most of the supported APIs have at least a documentation paragraph in the `pandas-datareader docs <https://pandas-datareader.readthedocs.io/en/latest/>`_:
149149

doc/source/gotchas.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ This is because ``reindex_like`` silently inserts ``NaNs`` and the ``dtype``
391391
changes accordingly. This can cause some issues when using ``numpy`` ``ufuncs``
392392
such as ``numpy.logical_and``.
393393

394-
See the `this old issue <https://github.com/pydata/pandas/issues/2388>`__ for a more
394+
See the `this old issue <https://github.com/pandas-dev/pandas/issues/2388>`__ for a more
395395
detailed discussion.
396396

397397
Parsing Dates from Text Files

doc/source/install.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This is the recommended installation method for most users.
1313

1414
Instructions for installing from source,
1515
`PyPI <http://pypi.python.org/pypi/pandas>`__, various Linux distributions, or a
16-
`development version <http://github.com/pydata/pandas>`__ are also provided.
16+
`development version <http://github.com/pandas-dev/pandas>`__ are also provided.
1717

1818
Python version support
1919
----------------------

doc/source/io.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -2035,7 +2035,7 @@ You can even pass in an instance of ``StringIO`` if you so desire
20352035
that having so many network-accessing functions slows down the documentation
20362036
build. If you spot an error or an example that doesn't run, please do not
20372037
hesitate to report it over on `pandas GitHub issues page
2038-
<http://www.github.com/pydata/pandas/issues>`__.
2038+
<http://www.github.com/pandas-dev/pandas/issues>`__.
20392039

20402040

20412041
Read a URL and match a table that contains specific text

doc/source/overview.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Getting Support
8181
---------------
8282

8383
The first stop for pandas issues and ideas is the `Github Issue Tracker
84-
<https://github.com/pydata/pandas/issues>`__. If you have a general question,
84+
<https://github.com/pandas-dev/pandas/issues>`__. If you have a general question,
8585
pandas community experts can answer through `Stack Overflow
8686
<http://stackoverflow.com/questions/tagged/pandas>`__.
8787

@@ -103,7 +103,7 @@ training, and consulting for pandas.
103103

104104
pandas is only made possible by a group of people around the world like you
105105
who have contributed new code, bug reports, fixes, comments and ideas. A
106-
complete list can be found `on Github <http://www.github.com/pydata/pandas/contributors>`__.
106+
complete list can be found `on Github <http://www.github.com/pandas-dev/pandas/contributors>`__.
107107

108108
Development Team
109109
----------------

0 commit comments

Comments
 (0)