Skip to content

Commit 5e1d1ac

Browse files
committed
Build pipeline doesn't have polars and it isn't really necessary for the example, so swith to a code block instead of ipython directive
1 parent d318d0f commit 5e1d1ac

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/source/user-guide/data-sources.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ interface can be imported to DataFusion using the
124124
not support the arrow interface. In those cases, you can still import via the
125125
:py:func:`~datafusion.context.SessionContext.from_polars` function.
126126

127-
.. ipython:: python
127+
.. code-block:: python
128128
129129
import pandas as pd
130130
@@ -134,6 +134,8 @@ not support the arrow interface. In those cases, you can still import via the
134134
datafusion_df = ctx.from_arrow(pandas_df)
135135
datafusion_df.show()
136136
137+
.. code-block:: python
138+
137139
import polars as pl
138140
polars_df = pl.DataFrame(data)
139141

0 commit comments

Comments
 (0)