Skip to content

DOC: Improve clarity and fix grammar #37386

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 25, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions doc/source/user_guide/io.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5686,7 +5686,7 @@ ignored.
dtypes: float64(1), int64(1)
memory usage: 15.3 MB

Given the next test set:
The following test functions will be used below to compare the performance of several IO methods:

.. code-block:: python

Expand Down Expand Up @@ -5791,7 +5791,7 @@ Given the next test set:
def test_parquet_read():
pd.read_parquet("test.parquet")

When writing, the top-three functions in terms of speed are ``test_feather_write``, ``test_hdf_fixed_write`` and ``test_hdf_fixed_write_compress``.
When writing, the top three functions in terms of speed are ``test_feather_write``, ``test_hdf_fixed_write`` and ``test_hdf_fixed_write_compress``.

.. code-block:: ipython

Expand Down Expand Up @@ -5825,7 +5825,7 @@ When writing, the top-three functions in terms of speed are ``test_feather_write
In [13]: %timeit test_parquet_write(df)
67.6 ms ± 706 µs per loop (mean ± std. dev. of 7 runs, 10 loops each)

When reading, the top three are ``test_feather_read``, ``test_pickle_read`` and
When reading, the top three functions in terms of speed are ``test_feather_read``, ``test_pickle_read`` and
``test_hdf_fixed_read``.


Expand Down Expand Up @@ -5862,8 +5862,7 @@ When reading, the top three are ``test_feather_read``, ``test_pickle_read`` and
24.4 ms ± 146 µs per loop (mean ± std. dev. of 7 runs, 10 loops each)


For this test case ``test.pkl.compress``, ``test.parquet`` and ``test.feather`` took the least space on disk.
Space on disk (in bytes)
The files ``test.pkl.compress``, ``test.parquet`` and ``test.feather`` took the least space on disk (in bytes).

.. code-block:: none

Expand Down