Python Forum
Import multiple CSV files into pandas
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Import multiple CSV files into pandas
#1
Hello,
I have an iPython notebook which I am using. I am attempting to import several CSV files in one go - each into an individual dataframe. However I don't know how to label each dataframe individually so I can refer to it later?
Also having trouble accessing it through my current folder structure.
Root directory > Project_notebook and data directory > lower directory > csv file
Any suggestions for the code required here?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  import csv adding a header with pandas Soares 0 1,543 Dec-16-2021, 12:16 PM
Last Post: Soares
  How to import an xml file to Pandas sjhazard 0 2,324 Jun-08-2021, 08:19 PM
Last Post: sjhazard
  Python - Pandas writing blank files to file tdunphy 0 1,972 Jan-14-2021, 12:11 AM
Last Post: tdunphy
  Creating many csv files from Pandas EMA 0 1,610 Jul-26-2020, 06:39 PM
Last Post: EMA
  Loading multiple JSON files to create a csv 0LI5A3A 0 2,081 Jun-28-2020, 10:35 PM
Last Post: 0LI5A3A
  pandas str.extract multiple regex groups with OR pythonidae 2 7,806 Dec-19-2019, 05:43 PM
Last Post: pythonidae
  Pandas merge csv files karlito 2 3,138 Dec-16-2019, 10:59 AM
Last Post: karlito
  Reading Multiple Sheets using Pandas dhiliptcs 1 4,011 Sep-30-2019, 11:26 PM
Last Post: scidam
  Need Help With Filtering Data For Excel Files Using Pandas eddywinch82 9 5,984 Aug-06-2019, 03:44 PM
Last Post: eddywinch82
  import numpy in sub-files paul18fr 1 1,986 Aug-06-2019, 12:38 PM
Last Post: chakrimakam

Forum Jump:

User Panel Messages

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