Feb-01-2021, 08:53 AM
Hi guys,
I have a basic question about dataframes. However, my Google search has not yielded the desired results so far. I have data stored in a pandas.core.frame.DataFrame called data_stocks. When I type data_stocks and press CTRL + Enter, a simple DataFrame table is created. This table shows an index column that I would like to get rid of without changing the format of the table (that is, without converting the table to a different format).
Google search results recommended printing the table and using (index=false), however this changes the layout of the table, which is not the intention.
I would be grateful for any help!
Best regards!
Tim
I have a basic question about dataframes. However, my Google search has not yielded the desired results so far. I have data stored in a pandas.core.frame.DataFrame called data_stocks. When I type data_stocks and press CTRL + Enter, a simple DataFrame table is created. This table shows an index column that I would like to get rid of without changing the format of the table (that is, without converting the table to a different format).
Google search results recommended printing the table and using (index=false), however this changes the layout of the table, which is not the intention.
I would be grateful for any help!
Best regards!
Tim