Feature image IsLower() Python Function 101

IsLower() Python Function 101: The Hard Way vs The Easy Way

By Robin Dacalor · October 24, 2022 · 4 min read

Difficulty Level: Basic

In this article, we will discuss how to use the IsLower() Python function.

This function is a built-in operation used for handling strings. 

Let’s dive into what this function is and how to use it in both Code & No Code Python.

What is IsLower() Python Function?

In Python, islower() is a built-in method used for handling string data type. This method returns “True” if all characters in the string are lower case, otherwise, returns “False”. 

  • It does not need any parameters, it just returns an error if a parameter is passed.
  • Numbers, symbols & spaces are not checked, only string characters.

This function is used when checking if the argument contains any lowercase characters:

IsLower() Python Function: The Hard Way With Code

Dataset:

Let’s take a look at the following Public Sample Dataset (available to use for free).

Example:

Input: 

				
					SELECT IsLower(TerritoryName)
FROM UK Greenhouse Gas Emissions

				
			

Output: 

				
					False
				
			

IsLower() Python Function: The Easy Way Without Coding

Syntax: 

Example:

Input: 

Output: 

Conclusion

At RestApp, we’re building a Data Activation Platform for modern data teams with our large built-in library of connectors to databases, data warehouses and business apps.

We have designed our next-gen data modeling editor to be intuitive and easy to use.

If you’re interested in starting with connecting all your favorite tools, check out the RestApp website or try it for free with a sample dataset.

Discover the next-gen end-to-end data pipeline platform with our built-in No Code SQL, Python and NoSQL functions. Data modeling has never been easier and safer thanks to the No Code revolution, so you can simply create your data pipelines with drag-and-drop functions and stop wasting your time by coding what can now be done in minutes! 

Play Video about Analytics Engineers - Data Pipeline Feature - #1

Discover Data modeling without code with our 14-day free trial!

Category

Share

Subscribe to our newsletter

Robin Dacalor
Robin Dacalor
Robin is a Fullstack developer at RestApp. He is specialized in front-end development stacks (MEAN, MERN..), Backend technologies (Node.js, Python..) and Databases management systems (MongoDB, SQL..).

Related articles

Build better data pipelines

With RestApp, be your team’s data hero by activating insights from raw data sources.