Soner Yıldırım

AI

I’m Doing the Advent of Code 2024 in Python — Day 4

Let’s see how many stars we’ll collect. Soner Yıldırım · Follow Published in Towards Data Science · 6 min read · 11 hours ago — Photo by Nong on Unsplash Welcome to Day 4! Day 1 for introduction, how to get the input for your own puzzle, and solutions to the first day’s puzzles. Day 2, Day 3 We’ll learn about the following topics in the puzzle for Day 4: List comprehension in Python How

Read More »
AI

I’m Doing the Advent of Code 2024 in Python — Day 2

Let’s see how many stars we’ll collect. Soner Yıldırım · Follow Published in Towards Data Science · 6 min read · 11 hours ago — Photo by Nong on Unsplash Please check out Day 1 for introduction and solutions to the first days puzzles. Advent of Code is a competition but I’d like to emphasize that my main motivation is not to compete or get a place in the leaderboard. The puzzles are great for

Read More »
AI

I’m Doing the Advent of Code 2024 in Python — Day 1

Let’s see how many stars we’ll collect. Soner Yıldırım · Follow Published in Towards Data Science · 5 min read · 2 hours ago — Photo by Nong on Unsplash Advent of Code is a set of 25 programming puzzles released between December 1st and 25th of every year. Eric Wastl, inspired by the Advent Calendar, has been organizing the Advent of Code since 2015. This is my first year doing it and I completed

Read More »
AI

How to Get Pull Request Data Using GitHub API

Getting the diff between any two commits Soner Yıldırım · Follow Published in Towards Data Science · 5 min read · 13 hours ago — Photo by Bofu Shaw on Unsplash GitHub is the Wikipedia of code. Not everything in GitHub can be taken for granted but it contains the essence and history of how some of the best software tools are created. It’d be a shame not to have an API for accessing such

Read More »
AI

Let’s Revisit Case-When in Different Libraries Including the New Player: Pandas

How to create conditional columns with different tools. Soner Yıldırım · Follow Published in Towards Data Science · 6 min read · 7 hours ago — Photo by JESHOOTS.COM on Unsplash Whether you’re working on data analysis, data cleaning, or even feature engineering, it’s a frequently done operation to create a new column based on the values in other columns.

Read More »