Skip to content

DOC: small doc fixup of missing pd. #24659

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 2 commits into from
Jan 7, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion doc/source/basics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ The exact details of what an :class:`~pandas.api.extensions.ExtensionArray` is a
beyond the scope of this introduction. See :ref:`basics.dtypes` for more.

If you know you need a NumPy array, use :meth:`~Series.to_numpy`
or :meth:`numpy.ndarray.asarray`.
or :meth:`numpy.asarray`.

.. ipython:: python

Expand Down
6 changes: 3 additions & 3 deletions doc/source/whatsnew/v0.17.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -984,9 +984,9 @@ Removal of prior version deprecations/changes
.. ipython:: python

np.random.seed(1234)
df = DataFrame(np.random.randn(5, 2),
columns=list('AB'),
index=date_range('20130101', periods=5))
df = pd.DataFrame(np.random.randn(5, 2),
columns=list('AB'),
index=pd.date_range('2013-01-01', periods=5))
df

Previously
Expand Down