Skip to content

Commit

Permalink
Build pipeline doesn't have polars and it isn't really necessary for …
Browse files Browse the repository at this point in the history
…the example, so swith to a code block instead of ipython directive
  • Loading branch information
timsaucer committed Nov 25, 2024
1 parent d318d0f commit 5e1d1ac
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/source/user-guide/data-sources.rst
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ interface can be imported to DataFusion using the
not support the arrow interface. In those cases, you can still import via the
:py:func:`~datafusion.context.SessionContext.from_polars` function.

.. ipython:: python
.. code-block:: python
import pandas as pd
Expand All @@ -134,6 +134,8 @@ not support the arrow interface. In those cases, you can still import via the
datafusion_df = ctx.from_arrow(pandas_df)
datafusion_df.show()
.. code-block:: python
import polars as pl
polars_df = pl.DataFrame(data)
Expand Down

0 comments on commit 5e1d1ac

Please sign in to comment.