“Slicing” (that is, creating subsets using indices) DataFrames can be quite useful in partitioning datasets. for those familiar with SQL, this kind of reminds me of the SELECT command that is sometimes paired with an optional WHERE clause.

i know this is a very “basic” treatment but i used to play a lot of basketball and i believe in the importance of fundamentals. i use a lot of this in my own code and from what i’ve seen on the internet this is very common in snippets shared so IMHO it’s important to grasp the “basics” of this – in other words, it’s important to understand this in trying to make sense of sample code (comments are another thing but don’t get me started on that “bugbear”…).

here my updated GitHub repository:

https://github.com/LinsAbadia/Python/blob/master/DataFrames/Slicing.ipynb

SPOILER ALERT ; if you plan to watch the film, don’t read the rest of the entry as some aspects of my discussion may ruin the experience for you.

i apologise for chiming in late as i saw it awhile back but out of respect for my brother i held up posting as he was “stuck” on Holidays and when he came back it was the Manila Film Festival (showcasing Filipino films). he was only able to watch it last night because of his “tight” schedule,.

IMHO, it was just alright. that said, ending a “beloved” franchise can be tricky – one only needs to consider the “disincongruous” reactions to the GoT (strangely, i never got into it given my proclivity for fantasy fiction) finale. i can understand why the “fan boys” thought it was good and why the critics panned it – it doesn’t really matter what other people think. i’ve learned being in Australia that if you like something then you like it and you shouldn’t feel “guilty” about it.

IMHO, it wasn’t the best one but it was far from being the worst one. for my money, Episode V is still the best followed by Rogue One: A Star Wars Story but that’s neither here nor there since i’m not an “influencer”. i was still going to watch regardless of what critics said: i have this “annoying” thing of thinking for myself – maybe if i wasn’t such a fan or on-the-fence about watching it, i’d seriously consider what others had to say. case in point, Frozen 2 (i’m not really their core demographic although i do occasionally “enjoy” their films – i prefer Pixar) was a “smash” in the cinemas in spite of their negative reviews – i don’t think their “market” truly cared. as an aside, i think Disney is really clever to also own “properties” such as Star Wars and Marvel (i have to comment as i can’t help myself: i’m a huge fan of the MCU and Infinity War but not so much of Endgame – i have this thing about using time travel to solve things but i digress…) which have lucrative franchises that gross well at the box office.

i didn’t mind that Emperor Palpatine was back – i just wanted a more plausible rationale for it and not simply glossed over like i felt the film did . i’m a fan, as well as a critic (i don’t think they’re mutually exclusive, i just don’t appreciate “lazy” writing). moreover, i found Poe’s final speech to the Rebellionbaduy“, “cheesey”, and trite.

like The Force Awakens reminded me of Episode IV , this made me think of Episode VI. there seemed to me a congruence between Rei’s and Luke’s offer to join from the Emperor (thwarted by a final “redemptive” act by Kylo Ren and Darth Vader respectively) and the “ruse” which was actually an ambush. there is nothing wrong with paying homage and parallels to the original trilogy but, for my taste, it was a little to close to home which made them predictable – i’m guessing that’s what some fans wanted.

but, all-in-all, i thought it was a valiant effort as ending something “gracefully” is always hard.