Python Forum
loading a csv file into python from pandas. Variable is not recognized
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
loading a csv file into python from pandas. Variable is not recognized
#2
What is question about? Is "Country in brics" expected to be True? I just loaded data and everything works fine; You have extra space in country<space> column name; It would be better to print column names out first, e.g. by calling brics.columns; and call country in brics.columns instead (Explicit is better than implicit).
Reply


Messages In This Thread
RE: loading a csv file into python from pandas. Variable is not recognized - by scidam - Apr-03-2019, 03:59 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Checking for a recognized text in a Dataframe KDE 0 1,569 Aug-31-2021, 11:19 PM
Last Post: KDE
  How to import an xml file to Pandas sjhazard 0 2,391 Jun-08-2021, 08:19 PM
Last Post: sjhazard
  Python - Pandas writing blank files to file tdunphy 0 2,027 Jan-14-2021, 12:11 AM
Last Post: tdunphy
  JSON file Loading issue punna111 4 8,670 Jun-29-2020, 08:07 AM
Last Post: buran
  how to solve the 'NO SUCH DIRECTORY OR FILE' in pandas, python MohammedSohail 10 15,628 May-08-2020, 07:45 AM
Last Post: nnk
  Loading .csv data using Pandas zaki424160 1 2,949 Jul-15-2019, 09:48 AM
Last Post: perfringo
  Pandas melt only on one variable (leaving other in long format) amyd 0 1,974 May-08-2019, 12:10 PM
Last Post: amyd
  Read CSV data into Pandas DataSet From Variable? Oliver 7 14,066 Jul-05-2018, 03:29 AM
Last Post: answerquest
  loading a 3D array from a bin file Mark3232 1 4,762 May-04-2018, 11:36 AM
Last Post: j.crater
  Loading HUGE data from Python into SQL SERVER Sandeep 2 21,153 Jan-13-2018, 07:52 AM
Last Post: Sandeep

Forum Jump:

User Panel Messages

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