View Active Threads
View Today's Posts
Home
Forums
View New Posts
View Today's Posts
My Discussions
Unanswered Posts
Unread Posts
Active Threads
Mark all forums read
Staff List
Member List
Help
Calendar
Search
Statistics
Interpreter
IRC
List index out of range when turning CSV into dict
Python Forum
Python Coding
Homework
Thread Rating:
0 Vote(s) - 0 Average
1
2
3
4
5
Thread Modes
List index out of range when turning CSV into dict
ibreeden
Verb Conjugator
Posts:
584
Threads:
1
Joined:
Aug 2019
Reputation:
56
#2
May-10-2021, 02:26 PM
(May-10-2021, 01:38 PM)
ranbarr Wrote:
headings = data[0].split(",")
You are splitting the line on comma's, but there are no comma's in your csv file.
Reply
Find
Reply
Messages In This Thread
List index out of range when turning CSV into dict
- by
ranbarr
- May-10-2021, 01:38 PM
RE: List index out of range when turning CSV into dict
- by
ibreeden
- May-10-2021, 02:26 PM
RE: List index out of range when turning CSV into dict
- by
ranbarr
- May-10-2021, 02:33 PM
RE: List index out of range when turning CSV into dict
- by
jefsummers
- May-10-2021, 05:10 PM
RE: List index out of range when turning CSV into dict
- by
ranbarr
- May-10-2021, 05:34 PM
RE: List index out of range when turning CSV into dict
- by
perfringo
- May-10-2021, 06:31 PM
RE: List index out of range when turning CSV into dict
- by
ranbarr
- May-10-2021, 06:36 PM
RE: List index out of range when turning CSV into dict
- by
perfringo
- May-10-2021, 07:25 PM
RE: List index out of range when turning CSV into dict
- by
ranbarr
- May-11-2021, 07:52 AM
RE: List index out of range when turning CSV into dict
- by
perfringo
- May-11-2021, 09:31 AM
RE: List index out of range when turning CSV into dict
- by
jefsummers
- May-10-2021, 07:45 PM
RE: List index out of range when turning CSV into dict
- by
ranbarr
- May-11-2021, 07:50 AM
RE: List index out of range when turning CSV into dict
- by
ibreeden
- May-11-2021, 08:24 AM
RE: List index out of range when turning CSV into dict
- by
ranbarr
- May-11-2021, 09:23 AM
RE: List index out of range when turning CSV into dict
- by
ibreeden
- May-11-2021, 12:57 PM
RE: List index out of range when turning CSV into dict
- by
ranbarr
- May-12-2021, 10:38 AM
Possibly Related Threads…
Thread
Author
Replies
Views
Last Post
How to fix list index out of range
longmen
26
6,401
Apr-27-2022, 05:46 PM
Last Post
:
deanhystad
list index out of range
OliverG
3
2,420
Sep-03-2021, 12:04 AM
Last Post
:
itsmycode
Index List
a04j
2
2,993
Jul-10-2021, 01:14 PM
Last Post
:
BashBedlam
Input validation for nested dict and sorting list of tuples
ranbarr
3
4,013
May-14-2021, 07:14 AM
Last Post
:
perfringo
List vs index:
Frederico_Caldas
5
3,729
Jul-03-2020, 10:55 AM
Last Post
:
DeaD_EyE
To find the index of the first occurrence of the key in the provided list
Angry_bird89
4
3,374
Jun-20-2020, 06:53 PM
Last Post
:
Angry_bird89
Python Adding +1 to a list item cointained in a dict
ElReyZero
1
2,136
Apr-30-2020, 05:12 AM
Last Post
:
deanhystad
Dict from list - HELP! PLEASE!
cherry_cherry
16
5,841
Apr-09-2020, 04:01 AM
Last Post
:
cherry_cherry
list index out of range
mcgrim
2
2,986
May-25-2019, 07:44 PM
Last Post
:
mcgrim
Turning column of 8 digit numbers into three seperate columns
Wade334
1
2,224
May-11-2019, 02:52 PM
Last Post
:
Larz60+
Users browsing this thread: 1 Guest(s)
View a Printable Version
Forum Jump:
Private Messages
User Control Panel
Who's Online
Search
Forum Home
Python Coding
-- General Coding Help
-- Data Science
-- Homework
-- GUI
-- Game Development
-- Networking
-- Web Scraping & Web Development
General
-- News and Discussions
-- Tutorials
---- Tutorial Requests and Submissions
---- Python Installation and Execution
---- Fundamentals
---- Common pitfalls and what to do
---- Web Scraping
---- Web Tutorials
---- GUI tutorials
---- Game Tutorials
---- Networking Tutorials
-- Code sharing
-- Code Review
-- Jobs
Forum & Off Topic
-- Board
---- Weekly Top Picks
-- Bar
User Panel
Messages
Log Out
My Profile
Pay your profile a visit
User Control Panel
Do some changes on your profile
My Messages
View private messages
unread
Avatar
Change avatar
Signature
Change signature
Announcements
Announcement #1
8/1/2020
Announcement #2
8/2/2020
Announcement #3
8/6/2020
Login to Python Forum
Enter your details to login to your account:
Remember me
Lost Password?
Login
Don't have an account yet?
Sign Up!
Linear Mode
Threaded Mode