Skip to content
Closed
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
4 changes: 2 additions & 2 deletions _sources/faq/usage_faq.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,12 @@ input. Classes that are 'array-like' such as `pandas` data objects
and `np.matrix` may or may not work as intended. It is best to
convert these to `np.array` objects prior to plotting.

For example, to covert a `pandas.DataFrame` ::
For example, to convert a `pandas.DataFrame` ::

a = pandas.DataFrame(np.random.rand(4,5), columns = list('abcde'))
a_asndarray = a.values

and to covert a `np.matrix` ::
and to convert a `np.matrix` ::

b = np.matrix([[1,2],[3,4]])
b_asarray = np.asarray(b)
Expand Down
4 changes: 2 additions & 2 deletions _sources/faq/usage_faq.txt
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,12 @@ input. Classes that are 'array-like' such as `pandas` data objects
and `np.matrix` may or may not work as intended. It is best to
convert these to `np.array` objects prior to plotting.

For example, to covert a `pandas.DataFrame` ::
For example, to convert a `pandas.DataFrame` ::

a = pandas.DataFrame(np.random.rand(4,5), columns = list('abcde'))
a_asndarray = a.values

and to covert a `np.matrix` ::
and to convert a `np.matrix` ::

b = np.matrix([[1,2],[3,4]])
b_asarray = np.asarray(b)
Expand Down
2 changes: 1 addition & 1 deletion _sources/tutorials/introductory/usage.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ For example, to convert a `pandas.DataFrame` ::
a = pandas.DataFrame(np.random.rand(4,5), columns = list('abcde'))
a_asndarray = a.values

and to covert a `np.matrix` ::
and to convert a `np.matrix` ::

b = np.matrix([[1,2],[3,4]])
b_asarray = np.asarray(b)
Expand Down