Priya Sharma has Published 49 Articles

Absolute Tuple Summation in Python

Priya Sharma

Priya Sharma

Updated on 14-Aug-2023 14:38:27

100 Views

In Python, tuples are immutable sequences that can store multiple elements of different types. They are often used to represent collections of related values. Tuple summation involves adding the corresponding elements of two or more tuples to produce a new tuple. However, in some scenarios, it may be necessary to ... Read More

Adaptive Blur using Python Wand

Priya Sharma

Priya Sharma

Updated on 14-Aug-2023 14:37:39

102 Views

Image blurring is a fundamental technique in image processing that helps reduce noise and smooth out details. While traditional blur operations apply the same level of blurring uniformly across the entire image, adaptive blur takes it a step further by allowing variable blurring levels based on local image features. This ... Read More

Add K to Minimum element in Column Tuple List in Python

Priya Sharma

Priya Sharma

Updated on 14-Aug-2023 14:37:07

43 Views

Working with datasets involves identifying the smallest value in a specific column and updating it by adding a constant value (K). By implementing an optimized solution, we can efficiently perform this operation, which is crucial for data manipulation and analysis tasks. Working with tuple lists is a common way to ... Read More

Adding Custom Column to Tuple list in Python

Priya Sharma

Priya Sharma

Updated on 14-Aug-2023 14:36:25

138 Views

With regards to data manipulation and analysis, Python stands out as a versatile and powerful programming language. When working with data, it is often necessary to transform and enhance it to extract meaningful insights. One common task is adding a custom column to a tuple list, where each tuple represents ... Read More

Adding a prefix to each key name in a Python dictionary

Priya Sharma

Priya Sharma

Updated on 14-Aug-2023 14:36:06

191 Views

Python dictionaries are versatile data structures that allow you to store key-value pairs. At times, you may need to modify the keys in a dictionary, such as adding a prefix to each key. This can be useful when you want to differentiate or categorize specific keys. In this blog post, ... Read More

Adding custom dimension in Matrix using Python

Priya Sharma

Priya Sharma

Updated on 14-Aug-2023 14:29:59

102 Views

Matrices are fundamental data structures in linear algebra and are extensively used in various scientific and mathematical computations. A matrix is a rectangular array of numbers arranged in rows and columns. It is commonly represented as a two-dimensional grid. However, there are scenarios where we may need to manipulate matrices ... Read More

Adding double tap on any widget in Python Kivy

Priya Sharma

Priya Sharma

Updated on 14-Aug-2023 14:11:23

159 Views

Python Kivy is a powerful framework for building multi-touch applications, allowing developers to create interactive and intuitive user interfaces. One common requirement in many applications is the ability to detect and respond to double tap gestures on specific widgets. Setting up the Kivy Application Before diving into the implementation ... Read More

Inplace Editing using Python FileInput

Priya Sharma

Priya Sharma

Updated on 14-Aug-2023 13:12:21

601 Views

Inplace editing is a technique that allows us to modify the contents of a file directly, without the need for creating a new file or loading the entire file into memory. It offers a streamlined approach to file manipulation by allowing us to make changes directly to the existing file, ... Read More

Index-based Operation in PyTorch

Priya Sharma

Priya Sharma

Updated on 14-Aug-2023 13:10:01

860 Views

Index-based operations play a vital role in manipulating and accessing specific elements or subsets of data within tensors. PyTorch, a popular open-source deep learning framework, provides powerful mechanisms to perform such operations efficiently. By leveraging index-based operations, developers can extract, modify, and rearrange data along various dimensions of a tensor. ... Read More

How to Call a Parent class method in Python ?

Priya Sharma

Priya Sharma

Updated on 14-Aug-2023 13:05:46

8K+ Views

In object-oriented programming, inheritance allows you to create new classes based on existing ones, providing a way to reuse code and organize your program's structure. Python, being an object-oriented language, supports inheritance and allows you to override methods defined in parent classes in child classes. However, there may be situations ... Read More

Advertisements