Dec 31, 2020My 2020 TalePersonal highs and lows of the 366 days Like many people, I love a doing a yearly review in late December — taking the time to look back to see what went really well, what was abysmal, and make plans for the future. …Data Science10 min readData Science10 min read
Dec 22, 2020Brushing Up on Pandas Groupby(Didn’t get me to where I was hoping to be though) For the third week now, I’ve been playing around with a training data set from Machine Hacker. The first week the focus was on creating a new column “fReviews” and working through some hiccups I encountered on that endeavor…Pandas Dataframe4 min readPandas Dataframe4 min read
Dec 16, 2020Difficulty With Applying DataFrame.replace()A lesson in “read the fine print”! Last week I chronicled my frustrating journey to add a column to a DataFrame and fill the new column by extracting a float value from a string of text from another column. This week, using the same DataFrame about books from Machine Hack…Regex4 min readRegex4 min read
Dec 9, 2020Finding the Values of a Dataframe ColumnThe devil is in the details My latest project has been to work on a hackathon challenge from Machine Hack. The first problem in the beginner’s list is to predict the price of a book. There is a training data set with 6, 237 rows of 8 book features; the…Dataframes5 min readDataframes5 min read
Dec 1, 2020My Python Solution to Find the LCMAnother “fun” challenge Do you remember middle school math (I do — it was my favorite class!) and finding the LCM (least common multiple) of two or more numbers? Classic 6th-grade stuff and it’s one of the “very hard” challenges on Edabyte. This is my take on how to solve…Python Programming2 min readPython Programming2 min read
Nov 24, 2020Python and TurkeyA Google search that went awry Last week I start to google “Python Tur…” for my intended search of Python programming and a Turkey (for Thanksgiving) and autocorrect supplied me with Python Turtle results. Not quite what I was expecting….however, what is this? I had stumbled upon Turtle, a pre-installed…Python Programming2 min readPython Programming2 min read
Nov 16, 2020Python’s Modulo OperatorA short tutorial on things I learned last week In Python, the modulo operator (signified as %) is one of seven arithmetic operators along with multiplication, division, addition, subtraction, exponentiation, and floor division. …Python Programming3 min readPython Programming3 min read
Nov 12, 2020Karaca’s EncryptionI can’t get enough of these Python code challenges This week I continued on my binge of coding challenges from Edabit. There’s something relaxing about getting lost in a fun code challenge for a little while. The latest teaser was solving Karaca’s Encryption Algorithm: Make a function that encrypts a…Python Programming3 min readPython Programming3 min read
Nov 3, 2020Disarmium Number Challenge in PythonRefactoring my function down from 9 lines to 1 line Several months ago I wrote about my adventure of coding the Fibonacci number. I love the Fibonacci number — any number puzzle actually — so it was with great joy when I came across the Disarmium number. A number is…Python2 min readPython2 min read
Oct 29, 2020True or False: Friday the 13th?Spooky fun with Python and Datetime It appears that Halloween and all its fun accouterments will be downsized this year in my neighborhood. However, in the spirit of the season I tried out this challenge from edabit.com : Given the month and year as numbers, return whether that month contains…Python2 min readPython2 min read