Skip to content

TST: fix read_stata doctest #42670 #42701

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 33 commits into from
Jul 31, 2021
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
202f1ca
doctest fix for #42670
Jul 24, 2021
423db46
doctest fix for #42671
Jul 25, 2021
1747f73
doctest fix for #42671
Jul 25, 2021
0c49cdc
doctest fix for #42671 (pep 8 changes)
Jul 25, 2021
c65e24f
doctest fix for #42671
Jul 25, 2021
c646d9d
doctest fix for #42670
Jul 25, 2021
5811751
doctest fix for #42670
Jul 27, 2021
1930934
doctest fix for #42670 pep 8 changes
Jul 27, 2021
9d679dd
doctest fix for #42670
Jul 27, 2021
4cde08b
Update stata.py
KrishnaSai2020 Jul 27, 2021
7179423
Update stata.py
KrishnaSai2020 Jul 27, 2021
779b373
Update stata.py
KrishnaSai2020 Jul 27, 2021
8688fd9
Update stata.py
KrishnaSai2020 Jul 27, 2021
88517ff
Update stata.py
KrishnaSai2020 Jul 27, 2021
6bf7a9f
added read_stata docstring into the doctests
Jul 27, 2021
ba06fc8
fixed conflicts
Jul 27, 2021
4ef29e5
trying to fix conflicts
Jul 27, 2021
f8e606a
trying to fix conflicts
Jul 27, 2021
7712b33
Merge https://github.com/pandas-dev/pandas into doctest-examples-fix
Jul 27, 2021
882053c
trying to fix conflicts
Jul 27, 2021
b21515d
trying to fix conflicts
Jul 27, 2021
205bc10
added a line space
Jul 27, 2021
24a8861
moved comment to the side to allow doctest to pass
Jul 27, 2021
4f7c007
doctest fix
Jul 27, 2021
04d08db
Merge https://github.com/pandas-dev/pandas into doctest-examples-fix
Jul 28, 2021
6f18007
Merge branch 'master' into doctest-examples-fix
KrishnaSai2020 Jul 29, 2021
3db4951
grammar fixing
KrishnaSai2020 Jul 29, 2021
cbb415f
Update code_checks.sh
KrishnaSai2020 Jul 29, 2021
da2c6c3
grammar edit
KrishnaSai2020 Jul 29, 2021
0580036
Merge branch 'pandas-dev:master' into doctest-examples-fix
KrishnaSai2020 Jul 29, 2021
f7776d0
Merge branch 'pandas-dev:master' into doctest-examples-fix
KrishnaSai2020 Jul 30, 2021
4f07452
Merge branch 'master' into doctest-examples-fix
KrishnaSai2020 Jul 30, 2021
c65acb2
Merge branch 'master' into doctest-examples-fix
KrishnaSai2020 Jul 31, 2021
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
6 changes: 3 additions & 3 deletions pandas/io/stata.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,12 +162,12 @@
--------
Read a Stata dta file:

>>> df = pd.read_stata('filename.dta')
>>> df = pd.read_stata('filename.dta') # doctest: +SKIP

Read a Stata dta file in 10,000 line chunks:

>>> itr = pd.read_stata('filename.dta', chunksize=10000)
>>> for chunk in itr:
>>> itr = pd.read_stata('filename.dta', chunksize=10000) # doctest: +SKIP
>>> for chunk in itr: # doctest: +SKIP
... do_something(chunk)
"""

Expand Down