python how to print the data frame columns with out index and also left indent

0 votes
Hi There,

Basically I want to read a set of values from an excel file into a data frame. Then I want to print these values in a specific pattern. So my first requirement is that I should be able to print only column values and also left indent into a text file. Nothing more than this. For example, index values, or the column name, or the default text printed at the beginning of the file "<pandas.io.formats.style.Styler object at 0x00000253A9CDFB80>". All these things should be avoided

All I want is  just to print column values on a clean new text file.

please help.

Thank you in advance.

-Balaji
Jul 9, 2021 in Python by balaji

edited Mar 4, 2025 355 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP