@@ -45,6 +45,17 @@ multithreaded contexts with ``fork()``, see http://bugs.python.org/issue6721.
45
45
46
46
.. _connection-pooling :
47
47
48
+ Can PyMongo help me load the results of my query as a Pandas ``DataFrame ``?
49
+ ---------------------------------------------------------------------------
50
+
51
+ While PyMongo itself does not provide any APIs for working with
52
+ numerical or columnar data,
53
+ `PyMongoArrow <https://mongo-arrow.readthedocs.io/en/pymongoarrow-0.1.1/ >`_
54
+ is a companion library to PyMongo that makes it easy to load MongoDB query result sets as
55
+ `Pandas DataFrames <https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.html >`_,
56
+ `NumPy ndarrays <https://numpy.org/doc/stable/reference/generated/numpy.ndarray.html >`_, or
57
+ `Apache Arrow Tables <https://arrow.apache.org/docs/python/generated/pyarrow.Table.html >`_.
58
+
48
59
How does connection pooling work in PyMongo?
49
60
--------------------------------------------
50
61
@@ -440,8 +451,8 @@ No. PyMongo creates Python threads which
440
451
`PythonAnywhere <https://www.pythonanywhere.com >`_ does not support. For more
441
452
information see `PYTHON-1495 <https://jira.mongodb.org/browse/PYTHON-1495 >`_.
442
453
443
- How can I use something like Python's :mod: ` json ` module to encode my documents to JSON?
444
- ----------------------------------------------------------------------------------------
454
+ How can I use something like Python's `` json ` ` module to encode my documents to JSON?
455
+ -------------------------------------------------------------------------------------
445
456
:mod: `~bson.json_util ` is PyMongo's built in, flexible tool for using
446
457
Python's :mod: `json ` module with BSON documents and `MongoDB Extended JSON
447
458
<https://docs.mongodb.com/manual/reference/mongodb-extended-json/> `_. The
0 commit comments