We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 202f1ca commit 423db46Copy full SHA for 423db46
pandas/io/stata.py
@@ -162,13 +162,13 @@
162
--------
163
Read a Stata dta file:
164
165
->>> df = pd.read_stata('filename.dta') # doctest: +SKIP
+>>> df = pd.read_stata('docs_example_files/read_stata_example.dta')
166
167
Read a Stata dta file in 10,000 line chunks:
168
169
->>> itr = pd.read_stata('filename.dta', chunksize=10000) # doctest: +SKIP
170
->>> for chunk in itr: # doctest: +SKIP
171
-... do_something(chunk)
+>>> itr = pd.read_stata('docs_examples/read_stata_example.dta', chunksize=10000)
+>>> for chunk in itr:
+>>> pass # do_something(chunk)
172
"""
173
174
_read_method_doc = f"""\
0 commit comments