Blog Posts

How to Append a Python Dictionary to a Pandas DataFrame

July 9, 2021

If you want to append a Python dictionary to a Pandas DataFrame, you can do this:


Read More

Get Secret from AWS Secrets Manager in Python

July 8, 2021

You can store secrets in AWS Secret Manager and reference their ARN in AWS Systems Secret Manager.


Read More

How to do Binary Addition in Python

July 7, 2021

The challenge Implement a function that adds two numbers together and returns their sum in binary.


Read More

How to Auto-Adjust Excel column widths with pandas.ExcelWriter

July 6, 2021

You have successfully written your pandas Dataframe to an Excel file, but when you open it, all the columns are squashed up against each other.


Read More

How to Sort the Odd in Python

July 5, 2021

The challenge You will be given an array of numbers. You have to sort the odd numbers in ascending order while leaving the even numbers at their original positions.


Read More

Calculate the Sum of the two lowest positive integers in Python

July 4, 2021

The challenge Create a function that returns the sum of the two lowest positive numbers given an array of minimum 4 positive integers.


Read More

Unique In Order in Python

July 3, 2021

The challenge Implement the function unique_in_order which takes as argument a sequence and returns a list of items without any elements with the same value next to each other and preserving the original order of elements.


Read More

How to Change the Hostname on Linux

July 2, 2021

On Linux, you can change the hostname by using the hostnamectl command.


Read More

How to Deploy a Docker Container to Kubernetes

July 1, 2021

Once you have a Docker container, it is really simple to deploy containers to Kubernetes .


Read More

How to Replace Characters with Alphabet Positions in Python

June 30, 2021

The challenge Given a string, replace every letter with its position in the alphabet.


Read More

Returning Highest and Lowest in Python

June 29, 2021

The challenge You are given a string of space-separated numbers and have to return the highest and lowest number.


Read More

How to Subtract Arrays in Python

June 28, 2021

The challenge Implement a difference function, which subtracts one list from another and returns the result.


Read More

How to Detect if Numbers are in Order in Golang

June 27, 2021

The challenge In this challenge, your function receives an array of integers as input.


Read More

Alternate Capitalization in Golang

June 26, 2021

The challenge Given a string, capitalize the letters that occupy even indexes and odd indexes separately, and return as shown below.


Read More

Check if a String is Uppercase in Golang

June 25, 2021

The challenge Create a method IsUpperCase to see whether the string is ALL CAPS.


Read More

How to UpperCase a String in Golang

June 24, 2021

In Go, there are multiple ways to make a string UpperCase, each of them are by using the strings package.


Read More

Return the Shortest Words in Golang

June 23, 2021

The challenge Given a string of words, return the length of the shortest word(s).


Read More

How to Solve Pascal’s Triangle in Python

June 22, 2021

The challenge Given an integer numRows, return the first numRows of Pascal’s triangle.


Read More

Creating a Multiplication Table for a Number in Golang

June 21, 2021

The challenge Your goal is to return multiplication table for number that is always an integer from 1 to 10.


Read More

How to Remove Duplicates in an Array in Golang

June 20, 2021

The challenge Remove the left-most duplicates from a list of integers and return the result.


Read More