K-Means
Hi,
How can I drop the index column that appears without any heading after the csv file is read.
Thanks.
1 answers ( 0 marked as helpful)
Hi Padhmapriya,
thanks for reaching out!
If you're reading a file using pandas read_csv function you can avoid transforming one of the columns to an index by setting the index parameter to false. Like so:
df = pd.read_csv("filename", index = False)
Best,
365 Eli