pandas-dev / pandas

Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more
https://pandas.pydata.org
BSD 3-Clause "New" or "Revised" License
42.62k stars 17.57k forks source link

header, update in basic.rst M #59130 #59157

Open BadakalaYashwanth opened 3 days ago

BadakalaYashwanth commented 3 days ago

closes #59130 Screenshot 2024-07-01 220007 By changing the header to "With speedup (ms)" and "Without speedup (ms)", the documentation will directly highlight the performance improvements. This makes it easier for users to understand the value of these libraries without needing to know about older versions.

.. csv-table:: :header: "Operation", "With speedup (ms)", "Without speedup (ms)", "Ratio" :widths: 25, 25, 25, 25

``df1 > df2``, 13.32, 125.35,  0.1063
``df1 * df2``, 21.71,  36.63,  0.5928
``df1 + df2``, 22.04,  36.50,  0.6039