Niharika Aitam has Published 145 Articles

How to check the file size?

Niharika Aitam

Niharika Aitam

Updated on 09-Aug-2023 10:30:38

621 Views

Files are used to store certain data based on user requirement. A file can contain any type of information suchas audio, text, images, video or program. Depending on the data present in a file, the size of a file varies. The size of a file is measured in bits ... Read More

How to check Django version?

Niharika Aitam

Niharika Aitam

Updated on 09-Aug-2023 10:27:23

1K+ Views

Django is a free, open source web framework which is written in python and works with the python language. It follows the Model view controller(MVC) architectural pattern. This is manly used to develop the web applications in an easy and faster way with minimal fuss. The key features of the ... Read More

How to check any script is running in linux using Python?

Niharika Aitam

Niharika Aitam

Updated on 09-Aug-2023 10:25:18

4K+ Views

The psutil module in Python helps us to retrieve information about the processes that are currently running in our local system. What is a script? AScript is a set of instructions that are written in programming language and executed in the computer. We can perform a variety of ... Read More

How to change ticks label sizes using Python’s Bokeh

Niharika Aitam

Niharika Aitam

Updated on 09-Aug-2023 10:23:53

261 Views

Bokeh is one of the data visualization libraries available in python, which allows the users to create the interactive plots, data applications, dashboards in web browsers. The Bokeh provides us varieties of plots and charts such as scatter plot, line plot, bar charts and area charts etc. and also more ... Read More

How to change the PyGame icon?

Niharika Aitam

Niharika Aitam

Updated on 09-Aug-2023 10:22:22

2K+ Views

While building video games, we often try to setup an image or logo for that developed game. Python provides a function in pygame named, set_icon(), which sets the icon as desired. Pygame is a set of modules that allows us to develop the games and multimedia applications. This is built ... Read More

How to change the position of legend using Plotly Python?

Niharika Aitam

Niharika Aitam

Updated on 09-Aug-2023 10:21:06

1K+ Views

Plotly python is the library in python to create interactive visualizations using the plotly java script. It provides a wide range of charts and plots like scatter plots, line charts, bar charts and so on. Installing plotly library To use the plotly python library first we have to install ... Read More

How to change the position of legend in Pygal?

Niharika Aitam

Niharika Aitam

Updated on 09-Aug-2023 10:19:58

232 Views

Pygal is abbreviated as Python Data Visualization Library, which is designed to create the interactive charts and graphs. This is library is built with the advanced features than the SVG(Scalar Vector Graphics) format, to work with the high quality graphics that can be easily embedded into the web pages and ... Read More

Convert a NumPy array to an image

Niharika Aitam

Niharika Aitam

Updated on 09-Aug-2023 09:59:16

10K+ Views

The array created using the Numpy library can be converted into an image using the PIL or opencv libraries in python programming language. Let’s see about each library one by one. Python Image Library PIL is abbreviated as Python Image Library, which is an image processing libraries in python. ... Read More

Convert a NumPy array into a csv file

Niharika Aitam

Niharika Aitam

Updated on 09-Aug-2023 09:57:05

1K+ Views

The Numpy is the library in the python programming language which is abbreviated as Numerical Python. It is used to do the mathematical, scientific and statistical calculations within less time. The output of the numpy functions will be an array. An array created by the numpy functions can be stored ... Read More

Compute the outer product of two given vectors using NumPy in Python

Niharika Aitam

Niharika Aitam

Updated on 07-Aug-2023 19:35:47

390 Views

The Outer product of two vectors is the matrix obtained by multiplying each element of the vector A with each element in the vector B. The outer product of the vectors a and b is given as a ⊗ b. The following is the mathematical formula for calculating the outer ... Read More

Advertisements