8000 DOC: Splitting api.rst in several files by datapythonista · Pull Request #24462 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

DOC: Splitting api.rst in several files #24462

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 5 commits into from
Dec 30, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Merge from master
  • Loading branch information
datapythonista committed Dec 29, 2018
commit f137791d5ccda9f0ab688b424bae0afe50d584eb
38 changes: 0 additions & 38 deletions .circleci/config.yml

This file was deleted.

19 changes: 5 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,32 +34,23 @@ matrix:
include:
- dist: trusty
env:
- JOB="3.7" ENV_FILE="ci/deps/travis-37.yaml" PATTERN="not slow and not network"
- JOB="3.7" ENV_FILE="ci/deps/travis-37.yaml" PATTERN="not slow and not network and not db"

- dist: trusty
env:
- JOB="2.7, locale, slow, old NumPy" ENV_FILE="ci/deps/travis-27-locale.yaml" LOCALE_OVERRIDE="zh_CN.UTF-8" PATTERN="slow"
addons:
apt:
packages:
- language-pack-zh-hans
- dist: trusty
env:
- JOB="2.7" ENV_FILE="ci/deps/travis-27.yaml" PATTERN="not slow"
addons:
apt:
packages:
- python-gtk2

- dist: trusty
env:
- JOB="3.6, coverage" ENV_FILE="ci/deps/travis-36.yaml" PATTERN="not slow and not network" PANDAS_TESTING_MODE="deprecate" COVERAGE=true
- JOB="3.6, locale" ENV_FILE="ci/deps/travis-36-locale.yaml" PATTERN="not slow and not network" LOCALE_OVERRIDE="zh_CN.UTF-8"

- dist: trusty
env:
- JOB="3.7, NumPy dev" ENV_FILE="ci/deps/travis-37-numpydev.yaml" PATTERN="not slow and not network" TEST_ARGS="-W error" PANDAS_TESTING_MODE="deprecate"
addons:
apt:
packages:
- xsel
- JOB="3.6, coverage" ENV_FILE="ci/deps/travis-36.yaml" PATTERN="not slow and not network" PANDAS_TESTING_MODE="deprecate" COVERAGE=true

# In allow_failures
- dist: trusty
Expand Down
8 changes: 0 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,6 @@
</a>
</td>
</tr>
<tr>
<td></td>
<td>
<a href="https://circleci.com/gh/pandas-dev/pandas">
<img src="https://circleci.com/gh/circleci/mongofinil/tree/master.svg?style=shi E377 eld&circle-token=223d8cafa7b02902c3e150242520af8944e34671" alt="circleci build status" />
</a>
</td>
</tr>
<tr>
<td></td>
<td>
Expand Down
6 changes: 3 additions & 3 deletions asv_bench/benchmarks/period.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from pandas import (DataFrame, Series, Period, PeriodIndex, date_range,
period_range)
from pandas import (
DataFrame, Period, PeriodIndex, Series, date_range, period_range)


class PeriodProperties(object):
Expand Down Expand Up @@ -94,7 +94,7 @@ def time_value_counts(self, typ):
class Indexing(object):

def setup(self):
self.index = PeriodIndex(start='1985', periods=1000, freq='D')
self.index = period_range(start='1985', periods=1000, freq='D')
self.series = Series(range(1000), index=self.index)
self.period = self.index[500]

Expand Down
31 changes: 23 additions & 8 deletions ci/azure/posix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,29 +12,44 @@ jobs:
py35_np_120:
ENV_FILE: ci/deps/azure-macos-35.yaml
CONDA_PY: "35"
PATTERN: "not slow and not network"
PATTERN: "not slow and not network and not db"

${{ if eq(parameters.name, 'Linux') }}:
py27_np_120:
ENV_FILE: ci/deps/azure-27-compat.yaml
CONDA_PY: "27"
PATTERN: "not slow and not network"
PATTERN: "not slow and not network and not db"

py37_locale:
ENV_FILE: ci/deps/azure-37-locale.yaml
CONDA_PY: "37"
PATTERN: "not slow and not network"
py27_locale_slow_old_np:
ENV_FILE: ci/deps/azure-27-locale.yaml
CONDA_PY: "27"
PATTERN: "slow and not db"
LOCALE_OVERRIDE: "zh_CN.UTF-8"
EXTRA_APT: "language-pack-zh-hans"

py36_locale_slow:
ENV_FILE: ci/deps/azure-36-locale_slow.yaml
CONDA_PY: "36"
PATTERN: "not slow and not network"
PATTERN: "not slow and not network and not db"
LOCALE_OVERRIDE: F438 "it_IT.UTF-8"

py37_locale:
ENV_FILE: ci/deps/azure-37-locale.yaml
CONDA_PY: "37"
PATTERN: "not slow and not network and not db"
LOCALE_OVERRIDE: "zh_CN.UTF-8"

py37_np_dev:
ENV_FILE: ci/deps/azure-37-numpydev.yaml
CONDA_PY: "37"
PATTERN: "not slow and not network and not db"
TEST_ARGS: "-W error"
PANDAS_TESTING_MODE: "deprecate"
EXTRA_APT: "xsel"

steps:
- script: |
if [ "$(uname)" == "Linux" ]; then sudo apt-get install -y libc6-dev-i386; fi
if [ "$(uname)" == "Linux" ]; then sudo apt-get install -y libc6-dev-i386 $EXTRA_APT; fi
echo "Installing Miniconda"
ci/incremental/install_miniconda.sh
export PATH=$HOME/miniconda3/bin:$PATH
Expand Down
2 changes: 1 addition & 1 deletion ci/azure/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
displayName: 'Build'
- script: |
call activate pandas-dev
pytest -m "not slow and not network" --junitxml=test-data.xml pandas -n 2 -r sxX --strict --durations=10 %*
pytest -m "not slow and not network and not db" --junitxml=test-data.xml pandas -n 2 -r sxX --strict --durations=10 %*
displayName: 'Test'
- task: PublishTestResults@2
inputs:
Expand Down
1 change: 0 additions & 1 deletion ci/build_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ if [ "$DOC" ]; then
git add --all .
git commit -m "Version" --allow-empty

git remote remove origin
git remote add origin "https://${PANDAS_GH_TOKEN}@github.com/pandas-dev/pandas-docs-travis.git"
git fetch origin
git remote -v
Expand Down
81 changes: 0 additions & 81 deletions ci/circle/install_circle.sh

This file was deleted.

3 changes: 0 additions & 3 deletions ci/deps/azure-27-compat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,11 @@ dependencies:
- numexpr=2.6.1
- numpy=1.12.0
- openpyxl=2.5.5
- psycopg2
- pytables=3.4.2
- python-dateutil=2.5.0
- python=2.7*
- pytz=2013b
- scipy=0.18.1
- sqlalchemy=0.7.8
- xlrd=1.0.0
- xlsxwriter=0.5.2
- xlwt=0.7.5
Expand All @@ -25,5 +23,4 @@ dependencies:
- pip:
- html5lib==1.0b2
- beautifulsoup4==4.2.1
- pymysql==0.6.0
- hypothesis>=3.58.0
File renamed without changes.
3 changes: 0 additions & 3 deletions ci/deps/azure-36-locale_slow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,12 @@ dependencies:
- numexpr
- numpy
- openpyxl
- psycopg2
- pymysql
- pytables
- python-dateutil
- python=3.6*
- pytz
- s3fs
- scipy
- sqlalchemy
- xarray
- xlrd
- xlsxwriter
Expand Down
3 changes: 0 additions & 3 deletions ci/deps/azure-37-locale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,12 @@ dependencies:
- numexpr
- numpy
- openpyxl
- psycopg2
- pymysql
- pytables
- python-dateutil
- python=3.7*
- pytz
- s3fs
- scipy
- sqlalchemy
- xarray
- xlrd
- xlsxwriter
Expand Down
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions doc/source/api/extensions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ objects.
api.extensions.register_index_accessor
api.extensions.ExtensionDtype
api.extensions.ExtensionArray
arrays.PandasArray
11 changes: 11 additions & 0 deletions doc/source/api/series.rst
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,17 @@ strings and apply several methods to it. These can be accessed like
Series.dt
Index.str

.. _api.arrays:

Arrays
------
Pandas and third-party libraries can extend NumPy's type system (see :ref:`extending.extension-types`).

.. autosummary::
:toctree: generated/

array

.. _api.categorical:

Categorical
Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.
0