Niharika Aitam has Published 168 Articles

Profiling in Python

Niharika Aitam

Niharika Aitam

Updated on 19-Oct-2023 14:14:53

48 Views

In Python profiling is the measure of performance of different parts of a program to check and identify the areas of optimization and bottlenecks. We have many tools to perform profiling for the python code which includes built in modules, libraries and IDEs (Integrated development environments). There are different types ... Read More

Profile Application using Python Flask and MySQL

Niharika Aitam

Niharika Aitam

Updated on 19-Oct-2023 14:12:47

112 Views

Flask is one of the web frameworks which provide libraries to build light weight web applications in python. It is a micro framework, developed by Armin Ronacher who runs an international group of python enthusiasts (POCCO). Flask works on WSGI toolkit and jinja2 template engines. For creating the profile application ... Read More

ProcessPoolExecutor Class in Python

Niharika Aitam

Niharika Aitam

Updated on 19-Oct-2023 14:07:03

50 Views

The ProcessPoolExecutor class in python is part of the concurrent.futures module, is a high level interface for asynchronously executing functions using the processes and threads. The ProcessPoolExecutor allows us to execute the multiple functions in parallel using the multiple processes, which is particularly useful to CPU bound tasks that benefit ... Read More

Private Methods in Python

Niharika Aitam

Niharika Aitam

Updated on 19-Oct-2023 14:04:56

619 Views

In Python, we can define the private method by prefixing the single underscore to the method name and like the other programming languages we cannot prevent accessing the private method outside the class in python. Simply we can say the private method is used only internally for the defined class. ... Read More

Priority Queue using Queue and Heapdict module in Python

Niharika Aitam

Niharika Aitam

Updated on 19-Oct-2023 11:45:08

115 Views

The priority Queue is the abstract data type which is similar to the queue or stack, in which each element is attached with a priority. Here the priority determines the order of the elements to be dequeued from the queue and the higher priority elements are dequeued before the elements ... Read More

How to create an empty tuple in Python?

Niharika Aitam

Niharika Aitam

Updated on 09-Sep-2023 15:17:25

7K+ Views

Tuple is one of the data structures of the Python programming language. It is used to store multiple values separated by commas in an ordered manner. It is immutable in the sense that once the tuple is created cannot perform any operations like deleting, appending etc. The elements in the ... Read More

What are different types of quotes in Python?

Niharika Aitam

Niharika Aitam

Updated on 09-Sep-2023 09:50:36

5K+ Views

There are different types of quotes in Python. Each quotation is used in different scenarios as per the requirement. The following are the different types of quotations which we can use in the python programming language. Single quotes Double quotes Triple quotes What are Single quotes? Single quotes ... Read More

How to check for a substring in a PySpark dataframe?

Niharika Aitam

Niharika Aitam

Updated on 09-Aug-2023 16:01:28

2K+ Views

Pyspark is the library which provides the interface to Apache spark. The Apache spark is the distributed computing system to process the large datasets. We have the feasibility in pyspark to write the spark applications using python apart of the traditional languages Java and Scala. Verifying for a ... Read More

How to check horoscope using Python?

Niharika Aitam

Niharika Aitam

Updated on 09-Aug-2023 16:00:18

88 Views

Checking horoscope using Python Python is used in many applications all over the world. One of the applications is to check the horoscope on that day or day after using the Beautifulsoup of the python language. The following are the steps to be followed to check the horoscope using python. ... Read More

How to check if the PyMongo Cursor is Empty?

Niharika Aitam

Niharika Aitam

Updated on 09-Aug-2023 15:41:50

889 Views

PyMongo is one of the libraries in python which provides a way to interact with the MongoDB , the most popular NoSQL document oriented database. It allows the developers to easily connect with the mongoDB instances and interact with the databases and collections, insert and retrieve the documents and other ... Read More

Previous 1 ... 5 6 7 8 9 ... 17 Next
Advertisements