Utkarsha Nathani has Published 36 Articles

How to Change Matplotlib Color Bar Size in Python?

Utkarsha Nathani

Utkarsha Nathani

Updated on 11-Oct-2023 14:20:29

2K+ Views

Visualization tools are a vital part of Matplotlib library. One of the tools is colorbar. It shows the mapping between data values and colors in a plot. For adjusting the size of the colorbar to make it more visible or to fit it better with the plot we have several ... Read More

Draw a Sun Using Arcade Library Python

Utkarsha Nathani

Utkarsha Nathani

Updated on 13-Sep-2023 11:21:01

275 Views

Python is a highly multipurpose programming language with a vast network of libraries and frameworks that has capabilities beyond the standard language features. Arcade is one of the libraries used for creating graphics and handling user input. It uses basic shapes like circles and lines, a gradient approach, and many ... Read More

Django Shortcuts – get_list_or_404()

Utkarsha Nathani

Utkarsha Nathani

Updated on 13-Sep-2023 11:09:47

241 Views

Django is a popular web framework written in python, helps the web developers to create web applications efficiently. One of the most important features of Django is the built-in functions known as shortcuts. These shortcuts help in providing useful features for completing the task. In this article, we will be ... Read More

Connecting to SQL Database using SQLAlchemy in Python

Utkarsha Nathani

Utkarsha Nathani

Updated on 13-Sep-2023 11:07:16

2K+ Views

SQLAlchemy is one of the popular Python libraries used for working with the databases. It offers a high-interface for connecting to variety of databases, including MySQL, PostgreSQL, and MongoDB. So, with the help of SQLAlchemy, Python codes can be written which interacts with the database in a more meaningful and ... Read More

Connect to MySQL using PyMySQL in Python

Utkarsha Nathani

Utkarsha Nathani

Updated on 13-Sep-2023 10:59:56

4K+ Views

What is PyMySQL? It is a python library which is used for connecting MySQL database. It is completely written in Python and uses python for communicating with MySQL server. Compatible with Python 2.7 and python 3.x, and provides a simple and instinctive interface for connecting to the MySQL database, executing ... Read More

Connecting PostgreSQL with SQLAlchemy in Python

Utkarsha Nathani

Utkarsha Nathani

Updated on 13-Sep-2023 10:54:27

3K+ Views

Python provides variety of libraries one of them is SQLAlchemy, it provides an Object Relational Mapping (ORM) system for working with databases, including PostgreSQL. It is used for the purpose of storing and managing huge amount of structured data by the developers. By connecting both of them we can create ... Read More

Python Program to get first and last element from a Dictionary

Utkarsha Nathani

Utkarsha Nathani

Updated on 24-Apr-2023 13:24:14

14K+ Views

Python is an interpreted, object–oriented, high level, programming language with dynamic semantics. Developed by Gudio Van Rossum in 1991. It supports multiple programming paradigms, including structured, object-oriented and functional programming. Before diving deep into the topic let’s first brush up the basic concepts related to the question provided to us. ... Read More

Python program to remove null values from a dictionary

Utkarsha Nathani

Utkarsha Nathani

Updated on 24-Apr-2023 12:08:57

2K+ Views

Dictionaries are known as the collection data types. They store data in the form of key value pair. They are ordered and changeable i.e., they follow a particular sequence and are indexed. We can change the values for a key and therefore it is manipulative or changeable. Dictionaries does not ... Read More

Python Program To Find The Largest Element In A Dictionary

Utkarsha Nathani

Utkarsha Nathani

Updated on 24-Apr-2023 12:07:45

160 Views

Dictionaries are used to store data values in key:value pairs like maps (which unlike other data types holds only a single value as an element). key:value is provided in dictionaries to make it more effective. Keys are unique. Dictionary key must be unique. So, no duplicate values are allowed ... Read More

Python Program to Search an Element in a Dictionary

Utkarsha Nathani

Utkarsha Nathani

Updated on 24-Apr-2023 12:05:23

12K+ Views

Dictionaries are used to store data values in key:value pairs like maps (which unlike other data types holds only a single value as an element). key:value is provided in dictionaries to make it more effective. Keys are unique. Dictionary key must be unique. So, no duplicate values are allowed in ... Read More

Advertisements