Latest Articles
Master Python datetime() Function: The Clock Is Ticking
In this tutorial we will learn about python datetime module which can be used to get current date and time based on different timezone. Use strptime() or …
Check if Python String contains Substring [5 Methods]
How to check if string contains substring in Python. Look out for exact match, case insensitive match or use regex to match the pattern in Python script
Compare Strings in Python like a PRO: Don't be a Rookie
Compare strings in Python lexicographically using the numeric equivalents (the result of the built-in function ord()), with equal to, greater than and other …
Master Python Enum Classes: A Comprehensive Guide
The python enum class provides an implementation of an enumeration type, with iteration and comparison capabilities. It can be used to create well-defined …
How to PROPERLY Rename Column in Pandas [10 Methods]
In this tutorial we will learn use pandas dataframe.rename() and other methods to rename column in a List, CSV files, Dictionaries or any other type of object …
