Python Forum
Change column names from a file
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Change column names from a file
#2
data_columns is Pandas dataframe. It doesn't contain a column named Column_Names. Everything depends
on content of the file Customer Churn Columns.csv. Try to print all column names
after the data is loaded, e.g. print(data_columns.columns).
Reply


Messages In This Thread
Change column names from a file - by Nidhesh - Jul-07-2019, 11:07 AM
RE: Change column names from a file - by scidam - Jul-08-2019, 01:47 AM
RE: Change column names from a file - by Nidhesh - Jul-08-2019, 06:00 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Finding the median of a column in a huge CSV file markagregory 5 1,733 Jan-24-2023, 04:22 PM
Last Post: DeaD_EyE
  Filter data based on a value from another dataframe column and create a file using lo pawanmtm 1 4,245 Jul-15-2020, 06:20 PM
Last Post: pawanmtm
  How to print a column name in csv file Truman 1 4,368 Mar-31-2020, 03:34 AM
Last Post: Larz60+
  pandas change row value an existing column with conditionals Gigux 1 2,922 Jun-22-2019, 08:04 PM
Last Post: Gigux
  copy one column from csv file and paste into xls file kprogrammer 0 4,347 Nov-03-2018, 04:03 PM
Last Post: kprogrammer
  Output column names Scott 2 2,683 Jun-25-2018, 12:47 PM
Last Post: volcano63
  Upload csv file as numbers (floating?) and extract element, row, and column bentaz 7 4,415 Mar-19-2018, 05:34 PM
Last Post: bentaz

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020