
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
SaiKrishna Tavva has Published 107 Articles

SaiKrishna Tavva
6K+ Views
In Python, a dictionary doesn't allow duplicate keys or repeated keys. So, we can use defaultdict from the Collections module. As it can store multiple values for the same key in the form of lists or any other data structures. 'defaultdict' from 'collections' Module The subclass of the built-in dict ... Read More

SaiKrishna Tavva
6K+ Views
In Python word search refers to determining if a given word exists in the grid, this can be done using various approaches like DFS method and backtracking algorithm, etc, and the given word can be formed by sequentially connecting adjacent cells both horizontally or vertically. Step Involved The steps ... Read More

SaiKrishna Tavva
5K+ Views
One of the common approach to convert JSON data into a python tuple is converting the json data to a dict using json.loads() and then conveting it to a python tuple using dict.items(). There are several other ways or methods to convert JSON data into tuple, depending on our needs ... Read More

SaiKrishna Tavva
5K+ Views
Python provides various methods to check if one list is a subset of another like 'all()' function and also by using 'issubset()' function to perform this check effectively. The three primary approaches used for checking if one list is a subset of another in Python are as follows. ... Read More

SaiKrishna Tavva
9K+ Views
To group Pandas data frame, we use groupby(). To sort grouped data frames in ascending or descending order, use sort_values(). The size() method is used to get the data frame size. Steps Involved The steps included in sorting the panda's data frame by its group size are as follows. ... Read More

SaiKrishna Tavva
7K+ Views
To calculate the length of a Linked list, we traverse the list, counting each node until we reach the end, where the next node is None. Suppose, we have a singly linked list, we have to find its length. The linked list has fields next and val. So, if the ... Read More

SaiKrishna Tavva
6K+ Views
In Python, whenever we try to read or write files we don’t need to import any library as it’s handled natively. The open() function opens a file and returns a file object. The file objects contain methods and attributes which latter can be used to retrieve information or manipulate the ... Read More

SaiKrishna Tavva
3K+ Views
When it is required to find the maximum element in a tuple list (i.e. list of tuples), the 'max' method and the 'operator. itemgetter()' method can be used. The itemgetter fetches a specific item from its operand. The 'max()' method gives the maximum value present in an iterable that is ... Read More

SaiKrishna Tavva
2K+ Views
Depending on the flexibility and complexity required, we can split a string on multiple delimiters in several ways such as using Python's re.split() method, which is a combination of various string methods. Some of the commonly used approaches to split strings on multiple delimiters. ... Read More

SaiKrishna Tavva
16K+ Views
To merge all CSV files, use the GLOB module. The os.path.join() method is used inside the concat() to merge the CSV files together. Some of the common methods we can use to merge multiple CSV Files into a single dataframe are as follows - ... Read More