Pandas version checks

  • [x] I have checked that the issue still exists on the latest versions of the docs on main here

Location of the documentation

https://pandas.pydata.org/docs/dev/reference/style.html

Documentation problem

The whole section of pandas styler properties is blank. Related to Issue #60815.

Image

Suggested fix for documentation

Document each of the Styler properties listed on the page, or at least state that the section is still under development.

Comment From: Rishab260

take

Comment From: Rishab260

Hi @star1327p , I see some related issues here

  • https://github.com/pandas-dev/pandas/issues/60815
  • https://github.com/pandas-dev/pandas-stubs/issues/1102

so am I correct to assume that documenting these attributes should be first thing to do?

Comment From: star1327p

@Rishab260 Yes, I think so. Thank you for taking on this issue!

Comment From: Rishab260

Before:

After:

Screenshot 2025-02-23 9 54 09 PM

Comment From: Rishab260

I am trying the following:-

Styler properties
-----------------
.. list-table::
   :widths: auto

   * - :attr:`Styler.index` : Index
     - Index of the DataFrame.
   * - :attr:`Styler.columns` : Index
     - Columns of the DataFrame.
   * - :attr:`Styler.env` : jinja2.Environment
     - Jinja2 Environment for template rendering.
   * - :attr:`Styler.template_html` : jinja2.Template
     - Jinja2 Template for rendering `Styler` objects as HTML output.
   * - :attr:`Styler.template_html_style` : jinja2.Template
     - Jinja2 Template for the `<style>` section in the HTML output.
   * - :attr:`Styler.template_html_table` : jinja2.Template
     - Jinja2 Template for rendering HTML tables.
   * - :attr:`Styler.template_latex` : jinja2.Template
     - Jinja2 Template for LaTeX output.
   * - :attr:`Styler.template_typst` : jinja2.Template
     - Jinja2 Template for Typst output.
   * - :attr:`Styler.template_string` : jinja2.Template
     - Jinja2 Template for string representation.
   * - :attr:`Styler.loader` : jinja2.BaseLoader
     - Jinja2 Loader for templates.

However, after building the documentation, I find it a little different from what I see at https://pandas.pydata.org/docs/dev/reference/style.html, the hyperlinks are gone for example and the colors are different.

Comment From: Rishab260

Hi, @Dr-Irv could you please take a look at this? It is related to https://github.com/pandas-dev/pandas/issues/60815 https://github.com/pandas-dev/pandas/pull/60979

Regards Rishab

Comment From: Dr-Irv

Hi, @Dr-Irv could you please take a look at this? It is related to

Not sure what you want me to look at, but https://pandas.pydata.org/docs/dev/reference/api/pandas.io.formats.style.Styler.html looks correct. Might need to also fix https://pandas.pydata.org/docs/dev/reference/style.html separately

Comment From: Rishab260

Hi, @Dr-Irv could you please take a look at this? It is related to

Not sure what you want me to look at, but https://pandas.pydata.org/docs/dev/reference/api/pandas.io.formats.style.Styler.html looks correct. Might need to also fix https://pandas.pydata.org/docs/dev/reference/style.html separately

SS

Comment From: Rishab260

The formatting does not match with what I can see at Style.html

Comment From: Dr-Irv

Hi, @Dr-Irv could you please take a look at this? It is related to

Not sure what you want me to look at, but https://pandas.pydata.org/docs/dev/reference/api/pandas.io.formats.style.Styler.html looks correct. Might need to also fix https://pandas.pydata.org/docs/dev/reference/style.html separately

SS

When I click on that link, I get "This private-user-images.githubusercontent.com page can’t be found"