Md Waqar Tabish has Published 27 Articles

Difference between series and vectors in Python Pandas

Md Waqar Tabish

Md Waqar Tabish

Updated on 05-May-2023 12:52:15

499 Views

Pandas is a well-known open-source Python library that provides a wide range of capabilities to make data analysis more effective. The Pandas package is mostly utilised for pre-processing data activities, including cleaning, transforming, and manipulating data. As a result, it is a highly useful tool for analysts and data scientists. ... Read More

Can you explain Python Regular Expression Syntax in a simple way?

Md Waqar Tabish

Md Waqar Tabish

Updated on 04-Apr-2023 12:27:42

42 Views

You will study regular expressions (RegEx) in this blog and interact with RegEx using Python's re-module (with the help of examples). A Regular Expression (RegEx) is a sequence of characters that defines a search pattern. For example, ^a...s$ A RegEx pattern is defined by the code above. Any five-letter string ... Read More

How to escape any special character in Python regular expression?

Md Waqar Tabish

Md Waqar Tabish

Updated on 04-Apr-2023 12:20:10

985 Views

Regex, often known as regexp, is a potent tool for finding and manipulating text strings, especially when processing text files. Regex may easily replace many hundred lines of computer code with only one line. All scripting languages, including Perl, Python, PHP, JavaScript, general-purpose programming languages like Java, and even word ... Read More

What are regular expression repetition cases in Python?

Md Waqar Tabish

Md Waqar Tabish

Updated on 23-Nov-2022 10:04:57

813 Views

We can build regular expressions that recognise repeated character groups using a few special characters. The following metacharacters can be used to search for a character or set of repeated characters. The question mark was the first repeating operator or quantifier developed. It effectively makes it optional by instructing the ... Read More

How to print a calendar for a month in Python

Md Waqar Tabish

Md Waqar Tabish

Updated on 20-Sep-2022 07:14:28

5K+ Views

Introduction Your helpful garden snake language python has you covered if you want to put up a personal calendar or even practise your daily coding challenge. How so? The Calendar module in Python is a built-in module that you may use to execute date, month, and calendar-related actions and ... Read More

How to match whitespace in python using regular expressions

Md Waqar Tabish

Md Waqar Tabish

Updated on 20-Sep-2022 07:09:49

14K+ Views

Regular expressions, often known as RegEx, are a string of characters corresponding to letters, words, or character patterns in text strings. It implies that you may use regular expressions to match and retrieve any string pattern from the text. Search and replace procedures benefit from the usage of regular expressions. ... Read More

How do we find the exact positions of each match in Python's regular expression?

Md Waqar Tabish

Md Waqar Tabish

Updated on 20-Sep-2022 07:07:24

1K+ Views

Introduction The re-module is what we use in Python for regular expressions. Text searches and more complex text manipulation employ regular expressions. Tools like grep and sed, text editors like vi and emacs, and computer languages like Tcl, Perl, and Python all have built-in regular expression support. The re-module ... Read More

Advertisements