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
  Retrieving last 20 file paths from directory dyerlee91 3 1,895 Sep-24-2021, 12:55 PM
Last Post: DeaD_EyE
  How to import an xml file to Pandas sjhazard 0 2,312 Jun-08-2021, 08:19 PM
Last Post: sjhazard
  Python - Pandas writing blank files to file tdunphy 0 1,960 Jan-14-2021, 12:11 AM
Last Post: tdunphy
  loading a csv file into python from pandas. Variable is not recognized vijjumodi 2 2,862 Apr-19-2019, 04:09 AM
Last Post: kus
  Solve a system of non-linear equations in Python (scipy.optimize.fsolve) drudox 7 22,610 Aug-18-2018, 02:27 AM
Last Post: scidam

Forum Jump:

User Panel Messages

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