How to Compare Dates Without Time in TypeScript

compare Dates Without Time in TypeScript

Recently, while working on a TypeScript feature for an internal tool, I needed to compare two dates, but only the date part, not the time. At first, I thought it would be straightforward, but I realised there are multiple ways to do it, and the results can vary depending on the method used. I tried … Read more >>

QCalendarWidget in PyQt6

QCalendarWidget in PyQt6

While I was working on a desktop application that needed to allow users to select dates for event scheduling. The PyQt6 QCalendarWidget was the perfect solution for this task. In this article, I will walk you through everything you need to know about implementing and customizing the QCalendarWidget in your PyQt6 applications. So let’s get … Read more >>

How to Use QInputDialog in PyQt6

QInputDialog in PyQt6

While working on a project for one of my clients, on a desktop application for a small business in Chicago that needed various user inputs for their inventory management system. The challenge was creating easy input interfaces that are simple for their non-technical staff to use. That’s when I realized how valuable the QInputDialog class … Read more >>

Types of Windows in PyQt6

Windows in PyQt

As a PyQt developer with experience in creating desktop applications, I’ve worked extensively with various window types and configurations. It is important to know all the types of windows in PyQt6 to choose different types based on your requirements. Let us get into the topic of PyQt6 windows and explore how can we use them. … Read more >>

How to Create Icons for Windows in PyQt6?

Create Icons for Windows in PyQt6

In this article, I will explain how to create icons for windows in PyQt6. As a Python developer who worked on various projects using PyQt6, I have learned that icons are not just decorative, they are functional elements that enhance usability and brand recognition. Let us learn about creating and implementing icons in PyQt6 applications … Read more >>

How to Use QListWidget in PyQt6?

PyQt6 QListWidget

Recently, I was working on a Python GUI application that needed to display a scrollable list of items with selection capabilities. After exploring various options, I found QListWidget to be the perfect solution. QListWidget is one of the most versatile widgets in PyQt6. It makes it easy to create and manage lists of items in … Read more >>

How to Calculate Yesterday’s Date in TypeScript

Calculate yesterday date in typescript

While building a feature for a client project, I needed to log data from the previous day. That meant figuring out how to get yesterday’s date in TypeScript. It sounds simple, but it needs to be done right, especially when dealing with time zones or edge cases. In this tutorial, I’ll explain how to calculate … Read more >>

Pandas iterrows() Method

pandas iterrows

While I was working on a data analysis project, I needed to process each row in a DataFrame individually. I found myself using the iterrows() method frequently, it’s one of those fundamental Pandas tools that every data analyst should know. While there are several ways to iterate through a DataFrame, iterrows() offers a simple approach … Read more >>

How to Update Values Using Pandas iterrows() Method in Python

pandas iterrows change value

Recently, I was working on a data analysis project for a US retail chain where I needed to apply conditional updates to thousands of product prices based on their categories and current market trends. The challenge was finding an efficient way to iterate through each row and make specific updates based on multiple conditions. That’s … Read more >>

Find Index of Value in Pandas Python

pandas get index

I was working on a data analysis project where I needed to locate specific values in a large dataset. The challenge was finding the exact position of these values in the Pandas DataFrame efficiently. Finding the index of a value in Pandas is a common task that can be approached in several ways, depending on … Read more >>