Python Forum
how to solve the 'NO SUCH DIRECTORY OR FILE' in pandas, python
Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to solve the 'NO SUCH DIRECTORY OR FILE' in pandas, python
#11
I tried this and it worked for me.... But you make sure your file is in correct path...

import pandas as pd
df = pd.read_csv(r'c:\Users\Admin\Downloads\weather.csv')
print("The size of the data frame is: ", df.shape)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  problem with opening csv file in pandas saratha 2 524 Jul-21-2020, 10:55 AM
Last Post: saratha
  Can't read text file with pandas zinho 6 3,803 May-24-2020, 06:13 AM
Last Post: azajali43
  loading a csv file into python from pandas. Variable is not recognized vijjumodi 2 984 Apr-19-2019, 04:09 AM
Last Post: kus
  read complex file with both pandas and not Diedro 1 963 Jan-29-2019, 05:26 PM
Last Post: Larz60+
  Load .abf file and for analysis with Pandas finalcode 0 1,084 Nov-10-2018, 09:51 AM
Last Post: finalcode
  Solve a system of non-linear equations in Python (scipy.optimize.fsolve) drudox 7 15,325 Aug-18-2018, 02:27 AM
Last Post: scidam
  Python Directory Error - Please help shaanali 2 1,343 Jun-12-2018, 06:50 PM
Last Post: shaanali

Forum Jump:

User Panel Messages

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