Latest blogs

Writing drifts through this section from time to time, offering passing thoughts and loose reflections for whoever feels like pausing here.

View all →
  1. Mastering Python Regex: Find Sequences of One Uppercase Letter Followed by Lowercase Letters

    Regex (Regular Expressions) is a powerful tool for pattern matching and text processing. One common use case—**finding sequences of exactly…

    Read more
  2. Adding New Columns to Existing DataFrames in Pandas: A Comprehensive Guide

    Pandas is the de facto standard library for data manipulation and analysis in Python. One of the most frequent operations in data preproces…

    Read more
  3. Rename Columns in Pandas DataFrame

    In the world of data analysis and manipulation, Pandas is a powerful Python library that offers a wide range of tools to work with structur…

    Read more
  4. Finding All Numbers in a String Using Regular Expressions in Python

    Regular expressions (regex) are a powerful tool for pattern matching in strings. In Python, the `re` module provides support for working wi…

    Read more
  5. Python | PyTorch sin() Method: A Comprehensive Technical Guide

    The `sin()` method in PyTorch is a fundamental mathematical operation that computes the sine of each element in a tensor. As a crucial comp…

    Read more
  6. Getting Started with Jupyter Notebook - Python

    Jupyter Notebook is an open-source web application that allows you to create and share documents containing live code, equations, visualiza…

    Read more
  7. Python | PyTorch `cos()` Method: A Comprehensive Guide

    In the world of deep learning and numerical computations with PyTorch, the `cos()` method is a useful tool. It allows you to calculate the…

    Read more
  8. Python | PyTorch tan() Method: A Comprehensive Guide

    The `tan()` method in PyTorch is a fundamental mathematical operation that computes the tangent of each element in a tensor. As a crucial t…

    Read more
  9. Python | PyTorch cosh() Method: A Comprehensive Guide

    In the realm of machine learning and deep learning, mathematical functions play a foundational role in building models, optimizing loss fun…

    Read more
  10. Python | PyTorch `sinh()` Method

    PyTorch is a popular open-source machine learning library based on the Python programming language. It provides a wide range of mathematica…

    Read more
  11. Importing CSV Files in Pandas: A Comprehensive Guide

    Pandas is a powerful library in Python for data manipulation and analysis. One of the common tasks when working with data is importing data…

    Read more
  12. Univariate Linear Regression in Python

    Linear regression is one of the fundamental algorithms in machine learning and statistics. It is used to model the relationship between a d…

    Read more
  13. Taking Input in Python: A Comprehensive Guide

    Input handling is a fundamental skill for any Python developer. Whether you're building simple scripts or complex applications, effectively…

    Read more
  14. Taking Multiple Inputs from User in Python: Comprehensive Techniques & Best Practices

    Handling user input efficiently is fundamental to building interactive Python applications. Whether creating simple scripts, CLI tools, or…

    Read more
  15. Python Program to Find the Number of Days Between Two Given Dates

    Calculating the number of days between two dates is a common task in many applications, such as project management, financial analysis, and…

    Read more
  16. Python | `pandas.to_numeric` Method: A Comprehensive Guide

    The `pandas.to_numeric` function is a critical tool in data preprocessing, enabling you to convert input values (e.g., strings, objects) to…

    Read more
  17. Mastering Pandas Index.any(): A Comprehensive Guide

    Pandas is the backbone of data manipulation in Python, and its **Index** objects are critical for organizing and accessing data efficiently…

    Read more
  18. Python - Print Output using `print()` function

    In Python, the `print()` function is one of the most fundamental and frequently used tools for outputting information. Whether you're debug…

    Read more
  19. Python | Pandas Index.argsort(): A Comprehensive Guide

    In Pandas, the `Index` is the backbone of data alignment and organization for Series and DataFrame objects. It represents immutable (by def…

    Read more
  20. Mastering Pandas `Index.asof()`: A Comprehensive Guide to Time-Series and Ordered Data

    The `Index.asof()` method retrieves the **last valid index label** that is **less than or equal to** a given `where` value. It’s optimized…

    Read more
  21. Mastering pandas `Index.astype()`: Complete Guide to Index Data Type Conversion

    In pandas, an **Index** is an immutable array that labels rows or columns in DataFrames and Series. It enables: - Efficient data alignment…

    Read more
  22. Python | Pandas Index.drop(): A Comprehensive Guide

    In Pandas, indexes are the backbone of data alignment, fast lookups, and structured data manipulation. They act as row (or column) labels,…

    Read more
  23. Absolute and Relative Imports in Python

    In Python, imports are a fundamental concept that allows you to reuse code from one module in another. Two common types of imports are abso…

    Read more
  24. Python | Pandas Index.factorize()

    In the world of data analysis with Python, Pandas is a powerful library. One of the useful functions within Pandas is `Index.factorize()`.…

    Read more

Topic collections

Each area simply gathers related pieces in one quiet corner of the site, available whenever you feel like wandering through them.

  1. Python Tutorial

    Start your Python journey

    Learn Python from the ground up — from installation and syntax to real-world scripts and applications.

  2. Python OOP

    Think in Python objects

    Understand classes, objects, inheritance, and clean OOP practices to structure larger Python codebases.

  3. Python Design Patterns

    Reusable patterns for Python code

    Apply classic design patterns in Python to make your code more modular, expressive, and maintainable.

  4. Python Standard Library

    Master the Python standard library

    Discover batteries-included modules for files, networking, concurrency, and more to write less code.

  5. Python Testing & TDD

    Test-driven Python development

    Learn unit testing, pytest, and TDD workflows so your Python code stays reliable as it grows.

  6. Python Data Science

    Python for data science & ML

    Use Python for data analysis, visualization, and machine learning with popular libraries and workflows.