Latest Posts From Pankaj

Creating Java Project Maven Archetypes

Creating a Java Project using Maven Archetypes

There are many ways to create a maven project. We can use built-in plugins from the popular IDEs such as Eclipse and IntelliJ IDEA. We can also create a maven project from the command line…..

Install Maven Linux

How to Install Maven on Linux (Ubuntu)

We can install Maven on Linux in a few simple steps. The first step is to install JDK because Maven needs it to execute. In this tutorial, we will learn how to install Maven in….

Install Maven Windows

How to Install Maven on Windows

Apache Maven is the most popular project management tool for Java applications. We can install maven on any operating system. Installing Maven on Windows Maven requires JDK to execute. Maven 3.3+ requires JDK 1.7 or….

Python Type Checking

Python Type Checking

1. What is Type Checking? Type Checking is the programming language feature that specifies how the variables are created and their types are identified by the language compiler or interpreter. 2. What are the different….

Pandas Pivot Table

Pandas pivot_table() – DataFrame Data Analysis

What is a Pivot Table? A pivot table is a table of statistics that summarizes the data of a more extensive table. The summary of data is reached through various aggregate functions – sum, average,….

Pandas Dataframe Merge

Pandas merge() – Merging Two DataFrame Objects

Pandas DataFrame merge() function is used to merge two DataFrame objects with a database-style join operation. The joining is performed on columns or indexes. If the joining is done on columns, indexes are ignored. This….

Pandas Dataframe To Csv

Pandas to_csv() – Convert DataFrame to CSV

Pandas DataFrame to_csv() function converts DataFrame into CSV data. We can pass a file object to write the CSV data into a file. Otherwise, the CSV data is returned in the string format. Pandas DataFrame….

Python Partial Function

Python Partial Function – functools partial()

What is a Python Partial Function? Sometimes a function accepts multiple parameters. If there is a situation where we are passing the same parameter to it many times, we can create a python partial function…..

Python ValueError

Python ValueError Exception Handling Examples

1. What is Python ValueError? Python ValueError is raised when a function receives an argument of the correct type but an inappropriate value. Also, the situation should not be described by a more precise exception….

Python KeyError

Python KeyError Exception Handling Examples

1. What is Python KeyError Exception? Python KeyError is raised when we try to access a key from dict, which doesn’t exist. It’s one of the built-in exception classes and raised by many modules that….

Generic selectors
Exact matches only
Search in title
Search in content
Search in posts
Search in pages