@@ -174,7 +174,7 @@ HTML Rendering Customization
174174----------------------------
175175
176176DataFusion provides extensive customization options for HTML table rendering through the
177- ``datafusion.html_formatter `` module.
177+ ``datafusion.dataframe_formatter `` module.
178178
179179Configuring the HTML Formatter
180180~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -183,7 +183,7 @@ You can customize how DataFrames are rendered by configuring the formatter:
183183
184184.. code-block :: python
185185
186- from datafusion.html_formatter import configure_formatter
186+ from datafusion.dataframe_formatter import configure_formatter
187187
188188 configure_formatter(
189189 max_cell_length = 30 , # Maximum length of cell content before truncation
@@ -206,7 +206,7 @@ For advanced styling needs, you can create a custom style provider class:
206206
207207.. code-block :: python
208208
209- from datafusion.html_formatter import configure_formatter
209+ from datafusion.dataframe_formatter import configure_formatter
210210
211211 class CustomStyleProvider :
212212 def get_cell_style (self ) -> str :
@@ -225,7 +225,7 @@ You can register custom formatters for specific data types:
225225
226226.. code-block :: python
227227
228- from datafusion.html_formatter import get_formatter
228+ from datafusion.dataframe_formatter import get_formatter
229229
230230 formatter = get_formatter()
231231
@@ -285,7 +285,7 @@ The HTML formatter maintains global state that can be managed:
285285
286286.. code-block :: python
287287
288- from datafusion.html_formatter import reset_formatter, reset_styles_loaded_state, get_formatter
288+ from datafusion.dataframe_formatter import reset_formatter, reset_styles_loaded_state, get_formatter
289289
290290 # Reset the formatter to default settings
291291 reset_formatter()
@@ -303,7 +303,7 @@ This example shows how to create a dashboard-like styling for your DataFrames:
303303
304304.. code-block :: python
305305
306- from datafusion.html_formatter import configure_formatter, get_formatter
306+ from datafusion.dataframe_formatter import configure_formatter, get_formatter
307307
308308 # Define custom CSS
309309 custom_css = """
0 commit comments