-
Hi, It's the simply output of df= pd.read_csv("input.csv")
df Is it a quarto way to style the table and in example hide/remove the row index, that it's not real data. Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 13 replies
-
This is a pandas index rendering issue. https://stackoverflow.com/questions/24644656/how-to-print-pandas-dataframe-without-index |
Beta Was this translation helpful? Give feedback.
-
As @cscheid mentioned, this is something related to To solve this (and much more) in For your case, what you should do is simply: df.style.hide(axis='index') That should remove the index for the output and give you the default rendering. |
Beta Was this translation helpful? Give feedback.
As @cscheid mentioned, this is something related to
pandas
and notquarto
.To solve this (and much more) in
pandas
, check the style guide, which enables you to customize almost everything in a rendered dataframe.For your case, what you should do is simply:
That should remove the index for the output and give you the default rendering.