Niharika Aitam has Published 168 Articles

Python - Column Product in List of lists

Niharika Aitam

Niharika Aitam

Updated on 02-Jan-2024 12:05:31

44 Views

The column product refers to the result of multiplying all the values within a specific column of a dataset. In a tabular representation of data, such as a list of lists or a spreadsheet, each column typically represents a variable or a feature, and the values within that column represent ... Read More

Python - Column summation uneven in sized lists

Niharika Aitam

Niharika Aitam

Updated on 02-Jan-2024 12:02:59

26 Views

What is Column Summation Column summation refers to the process of calculating the sum of values within each column of a dataset or a matrix. In the context of data analysis or numerical computations, column summation is a common operation used to summarize and analyze data along the vertical axis. ... Read More

Python - Column Mean in tuple list

Niharika Aitam

Niharika Aitam

Updated on 02-Jan-2024 11:58:46

50 Views

The column mean in a tuple list refers to the average value of elements within each column of the tuple data. A tuple list is a collection of tuples, where each tuple represents a record or observation, and the elements within each tuple correspond to different columns or variables. Column ... Read More

Django CRUD (Create, Retrieve, Update, Delete) Function Based Views

Niharika Aitam

Niharika Aitam

Updated on 06-Nov-2023 13:02:39

215 Views

CRUD is abbreviated as Create, Retrieve, Update and Delete Functions. In Django, we can perform all these CRUD operations on the data we created into the database. Now let’s create the views.py function based on the operation that we want to perform. Create Operation with Django Create is used to ... Read More

Django form field custom widgets

Niharika Aitam

Niharika Aitam

Updated on 06-Nov-2023 12:34:32

67 Views

A widget is the representation of the Html input element using Django. The widget is used to handle the rendering of the HTML page and data extracting from the POST/GET dictionary. Every time whenever we specify the field on a form, Django uses the default widget to display the data ... Read More

Django Form submission without Page Reload

Niharika Aitam

Niharika Aitam

Updated on 06-Nov-2023 12:27:03

365 Views

In Django, we can submit the form without reloading the page using the Jquery and Ajax (Asynchronous JavaScript and XML) requests. Let’s see an example to work with the Ajax to submit the Django form without reloading the page. Create a new Django project First create a new project in ... Read More

Print objects of a class in Python

Niharika Aitam

Niharika Aitam

Updated on 06-Nov-2023 12:22:16

624 Views

An object is the part of the Object Oriented Language (OOPs), which is an instance of the class. The class is the blueprint or template that specifies the methods and properties of that given class. When we create an object of a class, it contains all the set of instance ... Read More

Program to print window pattern

Niharika Aitam

Niharika Aitam

Updated on 06-Nov-2023 12:10:20

109 Views

Python is one of the most popular and efficient programming language which helps the developers to write and execute the code very easily and faster. It provides several methods, packages, modules and libraries to develop the code within no time and with less complexity. A window can be a ... Read More

Program to Print K using Alphabets

Niharika Aitam

Niharika Aitam

Updated on 06-Nov-2023 11:55:14

181 Views

Python is used to print different patterns easily within less time as per the user requirement. In the same way, we can print the letter K using the alphabets available in the English language. Example In this example we will create the letter K by using the K alphabet. The ... Read More

Program to check if a string contains any special character

Niharika Aitam

Niharika Aitam

Updated on 06-Nov-2023 11:22:22

522 Views

Python helps us to develop code as per the developer requirement and application. It provides multiple modules, packages, functions and classes which makes the code more efficient. Using python language, we can check if a string contains any special character or not. There are several ways to check the string ... Read More

Advertisements