Skip to content

Commit 83cc428

Browse files
faq cleanup (#4)
1 parent 0a99b38 commit 83cc428

File tree

1 file changed

+24
-6
lines changed

1 file changed

+24
-6
lines changed

source/faq.txt

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,31 @@
44
Frequently Asked Questions
55
==========================
66

7-
Why do I get ``ModuleNotFoundError: No module named 'polars'`` when using PyMongoArrow?
7+
.. contents:: On this page
8+
:local:
9+
:backlinks: none
10+
:depth: 1
11+
:class: singlecol
12+
13+
.. facet::
14+
:name: genre
15+
:values: reference
16+
17+
.. meta::
18+
:keywords: help, troubleshoot
19+
20+
This page contains frequently asked questions and their answers.
21+
22+
Why Do I Get ``ModuleNotFoundError: No module named 'polars'`` When Using {+driver-short+}?
823
---------------------------------------------------------------------------------------
924

10-
This error is raised when an application attempts to use a PyMongoArrow API
11-
that returns query result sets as a :class:`polars.DataFrame` instance without
25+
{+driver-short+} raises this error when an application attempts to use a {+driver-short+} API
26+
that returns query result-sets as a ``polars.DataFrame`` instance without
1227
having ``polars`` installed in the Python environment. Since ``polars`` is not
13-
a direct dependency of PyMongoArrow, it is not automatically installed when
14-
you install ``pymongoarrow`` and must be installed separately::
28+
a direct dependency of {+driver-short+}, it's not automatically installed when
29+
you install ``pymongoarrow``. You must install ``polars`` separately with the
30+
following shell command:
31+
32+
.. code-block:: sh
1533

16-
$ python -m pip install polars
34+
$ python -m pip install polars

0 commit comments

Comments
 (0)