<jupyter_start><jupyter_text>Controlling the index column**df2img** provides some possibilites to control how the index column will be printed/saved to an image file.First thing to mention is the fact that the index column header cell is dependent on the index name of the dataframe.If you wanted to omit a header for the index column, you have to set the index name of the dataframe to an empty string:``df.index.name = ""``. Index header cell<jupyter_code>import pandas as pd

import df2img

df = pd.DataFrame(
    data=dict(
        value_col_1=[1.4, float("NaN"), 250, 24.65],
        str_col=("string1", "string2", float("NaN"), "string4"),
    ),
    index=["row1", "row2", "row3", "row4"],
)

df<jupyter_output><empty_output><jupyter_text>Setting the index name at the dataframe level:<jupyter_code>df.index.name = "row_number"
df
fig = df2img.plot_dataframe(
    df,
    title=dict(text="Table with index header"),
    fig_size=(600, 140)
)<jupyter_output><empty_output><jupyter_text>Omitting the index column**df2img** provides the keyword argument ``print_index``, which, if set to ``True``, prints the index column.If it is set to ``False``, the dataframe's index column will simply be ignored/not printed at all.<jupyter_code>fig = df2img.plot_dataframe(
    df,
    print_index=False,
    title=dict(text="Table without index column"),
    fig_size=(600, 140)
)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.11538461538461539, 'fraction_numerical': 0.024216524216524215, 'mean_word_length': 5.004273504273504, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '3', 'dir': 'jupyter-structured-clean-dedup', 'id': '602464', 'license': 'MIT', 'n_tokens_mistral': 472, 'n_tokens_neox': 450, 'n_words': 151, 'path': 'docs/source/control_index.ipynb', 'repo_name': 'andreas-vester/df2img', 'size': '1404'}