Skip to content

Commit 4112c9f

Browse files
committed
DOC: pd.read_csv doc-string clarification #11555
Updated IO Tools documentation for read_csv() and read_table() to be consistent with the doc-string and reorded keyword arguements to group them more logically. Also updated concat docs in merging.rst to be consistent with doc-string.
0 parents  commit 4112c9f

File tree

917 files changed

+457847
-0
lines changed

Some content is hidden

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

917 files changed

+457847
-0
lines changed

.binstar.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
package: pandas
2+
user: jreback
3+
4+
install:
5+
- conda config --add channels pandas
6+
7+
before_script:
8+
- python -V
9+
10+
platform:
11+
- linux-64
12+
#- linux-32
13+
- osx-64
14+
#- win-32
15+
- win-64
16+
engine:
17+
- python=2.7
18+
- python=3.4
19+
script:
20+
- conda build conda.recipe --quiet
21+
22+
iotimeout: 600
23+
24+
build_targets: conda
25+
26+
notifications:
27+
email:
28+
recipients: ['[email protected]']

.coveragerc

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# .coveragerc to control coverage.py
2+
[run]
3+
branch = False
4+
5+
[report]
6+
# Regexes for lines to exclude from consideration
7+
exclude_lines =
8+
# Have to re-enable the standard pragma
9+
pragma: no cover
10+
11+
# Don't complain about missing debug-only code:
12+
def __repr__
13+
if self\.debug
14+
15+
# Don't complain if tests don't hit defensive assertion code:
16+
raise AssertionError
17+
raise NotImplementedError
18+
19+
# Don't complain if non-runnable code isn't run:
20+
if 0:
21+
if __name__ == .__main__.:
22+
23+
ignore_errors = False
24+
25+
[html]
26+
directory = coverage_html_report

.gitattributes

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
* text=auto
2+
# enforce text on certain files
3+
*.py text
4+
*.pyx text
5+
*.pyd text
6+
*.c text
7+
*.h text
8+
*.html text
9+
*.csv text
10+
*.json text
11+
*.pickle binary
12+
*.h5 binary
13+
*.dta binary
14+
*.xls binary
15+
*.xlsx binary
16+
pandas/_version.py export-subst

.gitignore

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
#########################################
2+
# Editor temporary/working/backup files #
3+
.#*
4+
*\#*\#
5+
[#]*#
6+
*~
7+
*$
8+
*.bak
9+
*flymake*
10+
*.kdev4
11+
*.log
12+
*.swp
13+
*.pdb
14+
.project
15+
.pydevproject
16+
.settings
17+
.idea
18+
.vagrant
19+
.noseids
20+
.ipynb_checkpoints
21+
22+
# Compiled source #
23+
###################
24+
*.a
25+
*.com
26+
*.class
27+
*.dll
28+
*.exe
29+
*.o
30+
*.py[ocd]
31+
*.so
32+
.build_cache_dir
33+
MANIFEST
34+
35+
# Python files #
36+
################
37+
# setup.py working directory
38+
build
39+
# sphinx build directory
40+
doc/_build
41+
# setup.py dist directory
42+
dist
43+
# Egg metadata
44+
*.egg-info
45+
.eggs
46+
47+
# tox testing tool
48+
.tox
49+
# rope
50+
.ropeproject
51+
# wheel files
52+
*.whl
53+
**/wheelhouse/*
54+
# coverage
55+
.coverage
56+
57+
# OS generated files #
58+
######################
59+
.directory
60+
.gdb_history
61+
.DS_Store
62+
ehthumbs.db
63+
Icon?
64+
Thumbs.db
65+
66+
# Data files #
67+
##############
68+
*.dta
69+
*.h5
70+
pandas/io/*.dat
71+
pandas/io/*.json
72+
scikits
73+
74+
# Generated Sources #
75+
#####################
76+
!skts.c
77+
!np_datetime.c
78+
!np_datetime_strings.c
79+
*.c
80+
*.cpp
81+
82+
# Performance Testing #
83+
#######################
84+
asv_bench/
85+
86+
# Documentation generated files #
87+
#################################
88+
doc/source/generated
89+
doc/source/_static
90+
doc/source/vbench
91+
doc/source/vbench.rst
92+
doc/source/index.rst
93+
doc/build/html/index.html
94+
# Windows specific leftover:
95+
doc/tmp.sv

.travis.yml

Lines changed: 173 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,173 @@
1+
2+
language: python
3+
4+
env:
5+
6+
global:
7+
# scatterci API key
8+
#- secure: "Bx5umgo6WjuGY+5XFa004xjCiX/vq0CyMZ/ETzcs7EIBI1BE/0fIDXOoWhoxbY9HPfdPGlDnDgB9nGqr5wArO2s+BavyKBWg6osZ3dmkfuJPMOWeyCa92EeP+sfKw8e5HSU5MizW9e319wHWOF/xkzdHR7T67Qd5erhv91x4DnQ="
9+
# ironcache API key
10+
- secure: "e4eEFn9nDQc3Xa5BWYkzfX37jaWVq89XidVX+rcCNEr5OlOImvveeXnF1IzbRXznH4Sv0YsLwUd8RGUWOmyCvkONq/VJeqCHWtTMyfaCIdqSyhIP9Odz8r9ahch+Y0XFepBey92AJHmlnTh+2GjCDgIiqq4fzglojnp56Vg1ojA="
11+
- secure: "CjmYmY5qEu3KrvMtel6zWFEtMq8ORBeS1S1odJHnjQpbwT1KY2YFZRVlLphfyDQXSz6svKUdeRrCNp65baBzs3DQNA8lIuXGIBYFeJxqVGtYAZZs6+TzBPfJJK798sGOj5RshrOJkFG2rdlWNuTq/XphI0JOrN3nPUkRrdQRpAw="
12+
# pandas-docs-bot GH
13+
- secure: "PCzUFR8CHmw9lH84p4ygnojdF7Z8U5h7YfY0RyT+5K/aiQ1ZTU3ZkDTPI0/rR5FVMxsEEKEQKMcc5fvqW0PeD7Q2wRmluloKgT9w4EVEJ1ppKf7lITPcvZR2QgVOvjv4AfDtibLHFNiaSjzoqyJVjM4igjOu8WTlF3JfZcmOQjQ="
14+
15+
git:
16+
# for cloning
17+
depth: 200
18+
19+
matrix:
20+
fast_finish: true
21+
include:
22+
- python: 2.7
23+
env:
24+
- JOB_NAME: "27_nslow_nnet_COMPAT"
25+
- NOSE_ARGS="not slow and not network and not disabled"
26+
- CLIPBOARD=xclip
27+
- LOCALE_OVERRIDE="it_IT.UTF-8"
28+
- BUILD_TYPE=conda
29+
- INSTALL_TEST=true
30+
- JOB_TAG=_COMPAT
31+
- python: 2.7
32+
env:
33+
- JOB_NAME: "27_slow_nnet_LOCALE"
34+
- NOSE_ARGS="slow and not network and not disabled"
35+
- LOCALE_OVERRIDE="zh_CN.GB18030"
36+
- FULL_DEPS=true
37+
- JOB_TAG=_LOCALE
38+
- BUILD_TYPE=conda
39+
- python: 2.7
40+
env:
41+
- JOB_NAME: "27_nslow"
42+
- NOSE_ARGS="not slow and not disabled"
43+
- FULL_DEPS=true
44+
- CLIPBOARD_GUI=gtk2
45+
- python: 3.4
46+
env:
47+
- JOB_NAME: "34_nslow"
48+
- NOSE_ARGS="not slow and not disabled"
49+
- FULL_DEPS=true
50+
- CLIPBOARD=xsel
51+
- BUILD_TYPE=conda
52+
- python: 3.5
53+
env:
54+
- JOB_NAME: "35_nslow"
55+
- NOSE_ARGS="not slow and not network and not disabled"
56+
- FULL_DEPS=true
57+
- CLIPBOARD=xsel
58+
- python: 2.7
59+
env:
60+
- JOB_NAME: "27_slow"
61+
- JOB_TAG=_SLOW
62+
- NOSE_ARGS="slow and not network and not disabled"
63+
- FULL_DEPS=true
64+
- python: 3.4
65+
env:
66+
- JOB_NAME: "34_slow"
67+
- JOB_TAG=_SLOW
68+
- NOSE_ARGS="slow and not network and not disabled"
69+
- FULL_DEPS=true
70+
- CLIPBOARD=xsel
71+
- python: 2.7
72+
env:
73+
- JOB_NAME: "27_build_test_conda"
74+
- JOB_TAG=_BUILD_TEST
75+
- NOSE_ARGS="not slow and not disabled"
76+
- FULL_DEPS=true
77+
- BUILD_TEST=true
78+
- python: 2.7
79+
env:
80+
- JOB_NAME: "27_numpy_dev"
81+
- JOB_TAG=_NUMPY_DEV
82+
- NOSE_ARGS="not slow and not network and not disabled"
83+
- PANDAS_TESTING_MODE="deprecate"
84+
- python: 3.5
85+
env:
86+
- JOB_NAME: "35_numpy_dev"
87+
- JOB_TAG=_NUMPY_DEV
88+
- NOSE_ARGS="not slow and not network and not disabled"
89+
- PANDAS_TESTING_MODE="deprecate"
90+
- python: 2.7
91+
env:
92+
- JOB_NAME: "doc_build"
93+
- FULL_DEPS=true
94+
- BUILD_TYPE=conda
95+
- DOC_BUILD=true # if rst files were changed, build docs in parallel with tests
96+
- JOB_TAG=_DOC_BUILD
97+
allow_failures:
98+
- python: 2.7
99+
env:
100+
- JOB_NAME: "27_slow"
101+
- JOB_TAG=_SLOW
102+
- NOSE_ARGS="slow and not network and not disabled"
103+
- FULL_DEPS=true
104+
- python: 3.4
105+
env:
106+
- JOB_NAME: "34_slow"
107+
- JOB_TAG=_SLOW
108+
- NOSE_ARGS="slow and not network and not disabled"
109+
- FULL_DEPS=true
110+
- CLIPBOARD=xsel
111+
- python: 2.7
112+
env:
113+
- JOB_NAME: "27_numpy_dev"
114+
- JOB_TAG=_NUMPY_DEV
115+
- NOSE_ARGS="not slow and not network and not disabled"
116+
- PANDAS_TESTING_MODE="deprecate"
117+
- python: 2.7
118+
env:
119+
- JOB_NAME: "27_build_test_conda"
120+
- JOB_TAG=_BUILD_TEST
121+
- NOSE_ARGS="not slow and not disabled"
122+
- FULL_DEPS=true
123+
- BUILD_TEST=true
124+
- python: 3.5
125+
env:
126+
- JOB_NAME: "35_numpy_dev"
127+
- JOB_TAG=_NUMPY_DEV
128+
- NOSE_ARGS="not slow and not network and not disabled"
129+
- PANDAS_TESTING_MODE="deprecate"
130+
- python: 2.7
131+
env:
132+
- JOB_NAME: "doc_build"
133+
- FULL_DEPS=true
134+
- BUILD_TYPE=conda
135+
- DOC_BUILD=true
136+
- JOB_TAG=_DOC_BUILD
137+
138+
before_install:
139+
- echo "before_install"
140+
- echo $VIRTUAL_ENV
141+
- export PATH="$HOME/miniconda/bin:$PATH"
142+
- sudo apt-get install ccache
143+
- df -h
144+
- date
145+
- pwd
146+
- uname -a
147+
- python -V
148+
- ci/before_install_travis.sh
149+
# Xvfb stuff for clipboard functionality; see the travis-ci documentation
150+
- export DISPLAY=:99.0
151+
- sh -e /etc/init.d/xvfb start
152+
153+
install:
154+
- echo "install"
155+
- ci/prep_ccache.sh
156+
- ci/install_travis.sh
157+
- ci/submit_ccache.sh
158+
159+
before_script:
160+
- mysql -e 'create database pandas_nosetest;'
161+
- psql -c 'create database pandas_nosetest;' -U postgres
162+
163+
script:
164+
- echo "script"
165+
- ci/run_build_docs.sh
166+
- ci/script.sh
167+
- ci/lint.sh
168+
# nothing here, or failed tests won't fail travis
169+
170+
after_script:
171+
- ci/install_test.sh
172+
- source activate pandas && ci/print_versions.py
173+
- ci/print_skipped.py /tmp/nosetests.xml

0 commit comments

Comments
 (0)