This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
2
Modify a list of lists
Post Body
Lets say I have a list of lists. I made it like this:
data = np.split(q, np.where(q == -1)[0])
data =[item[1:] for item in arrays if len(item) > 1]
I am trying to then access each list data[i] so I can then compare the list to the previous list and if i != 0 then the len(data[i]) is added to the next list data[i 1]. How do I work with these lists like this? I think using enumerate is a start but I can index the lists like about for comparisons.
Author
User Disabled
Account Strength
0%
Disabled 6 months ago
Account Age
11 years
Verified Email
Yes
Verified Flair
No
Total Karma
229
Link Karma
95
Comment Karma
134
Profile updated: 1 day ago
Posts updated: 8 months ago
Subreddit
Post Details
We try to extract some basic information from the post title. This is not
always successful or accurate, please use your best judgement and compare
these values to the post title and body for confirmation.
- Posted
- 10 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/learnpython...