# My 2020 Tale

Personal 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. …

# Brushing 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…

# Difficulty 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. …

# Finding the Values of a Dataframe Column

The 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…

# My Python Solution to Find the LCM

Another “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 and Turkey

A 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’s Modulo Operator

A 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. …

# Karaca’s Encryption

I 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…`

# Disarmium Number Challenge in Python

Refactoring 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…

# True 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…`

## Annika Noren

Get the Medium app