Skip to content

Commit f29e041

Browse files
committed
fixed not defined pop array in pandas.rst
1 parent ff03b3e commit f29e041

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/source/tutorial/pandas.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ Compatibility with pandas
44
To convert an Array object into a pandas DataFrame, the method :py:meth:`~Array.to_frame` can be used:
55

66
.. ipython:: python
7+
from larray import *
8+
csv_dir = get_example_filepath('examples')
9+
pop = read_csv(csv_dir + '/pop.csv')
710
811
df = pop.to_frame()
912
df

0 commit comments

Comments
 (0)