We are committed to provide service 24 X 7

Deals, Shopping, Training, Tools

Tag: multiple

Python: Replace multiple characters in a string

In this article, we will discuss different ways to replace multiple characters in a string in Python. Table of Contents: Replace multiple characters in a string using the replace() Replace multiple characters in a string using the translate () Replace multiple characters in a string using regex Replace multiple characters in a string using for …

Python: Replace multiple characters in a stringRead More

How to get multiple counts in single MySQL query

This article will be taking an example table customer_data and will try to get multiple counts from this table within a single query. Topics covered: COUNT(*) GROUP BY COUNT(DISTINCT) BASED ON CONDITION Let us get started by creating the table customer_data and inserting the data into it. CREATE TABLE customer_data ( customer_id INT , customer_name VARCHAR(255), customer_address VARCHAR(255), customer_level …

How to get multiple counts in single MySQL queryRead More

Pandas: Select multiple columns of dataframe by name

In this article, we will discuss different ways to select multiple columns of dataframe by name in pandas. Table of Contents Select multiple columns by name in pandas dataframe using [] Select multiple columns by name in pandas dataframe using loc[] Overview of df.loc[] Example of selecting multiple columns using loc[] Suppose we have a …

Pandas: Select multiple columns of dataframe by nameRead More

Cart

Your Cart is Empty

Back To Shop