Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Importing data
#5
(May-11-2018, 03:37 AM)Scott Wrote: I get same issue when I substitute this link in
filename = Path("C:\Users\SGrah\OneDrive\Documents\Python Scripts\Python for Data Analysis/csv/chap 6.csv")
Your path will not work because of escape character \U.
Never use use single backslash (\) that way in path,because of escape character.
Look at this post.
Reply


Messages In This Thread
Importing data - by Scott - May-10-2018, 08:37 AM
RE: Importing data - by petertyler - May-10-2018, 09:39 AM
RE: Importing data - by Scott - May-11-2018, 03:37 AM
RE: Importing data - by petertyler - May-12-2018, 11:13 AM
RE: Importing data - by snippsat - May-12-2018, 11:22 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  ssues with importing data from ODBC Slavek_d 1 1,516 Feb-01-2022, 09:57 AM
Last Post: ibreeden
  Importing python data to Textfile or CSV yanDvator 0 1,862 Aug-02-2020, 06:58 AM
Last Post: yanDvator
  Importing data from a text file into an SQLite database with Python macieju1974 7 4,405 Jun-29-2020, 08:51 PM
Last Post: buran
  Importing csv data into sql lite cant figure it out. jimmyvegas29 5 3,948 Jul-16-2018, 02:02 AM
Last Post: jimmyvegas29

Forum Jump:

User Panel Messages

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