« first day (3902 days earlier)      last day (132 days later) » 

8:25 AM
@ilkkachu Hello, I'm your friendly neighborhood language pedant :P
 
8:42 AM
Hey, at least it's better than me having to change "who's" to "whose" on an answer...
 
9:18 AM
@forest your a hero
 
 
3 hours later…
11:54 AM
@AndrasDeak reminds me of the time my wife couldn't find her keys; I reassured her, saying: "There there, they're there"
4
 
argh :D
 
12:42 PM
@JeffSchaller Aaron earned an iron urn
 
@AndrasDeak nice! That's a good one to bring out the regional accents
 
@JeffSchaller these were quite popular last year (warning: some swearing) imgur.com/gallery/vUACdCU
 
 
6 hours later…
6:47 PM
Does anyone know what this syntax means?
dataframe.iloc[::-1]
This is part of some Pandas code I wrote a while back. No doubt it seemed perfectly reasonable at the time. But I didn't comment it, and searching is proving frustrating and unproductive.
Looks liks this this reverse the order of the rows. But I'm fuzzy as to why.
 
3853
Q: Understanding slice notation

SimonI need a good explanation (references are a plus) on Python's slice notation. To me, this notation needs a bit of picking up. It looks extremely powerful, but I haven't quite got my head around it.

 

« first day (3902 days earlier)      last day (132 days later) »