Articles by Deepak Prasad
Steps to expose services using Kubernetes Ingress
Kubernetes Ingress provides a granular mechanism for routing requests into a cluster. Ingress does not replace Services but augments them with capabilities such as path-based routing.
3 different ways to detect a loop in a Linked List
There are three ways to detect a loop in a linked list cycle. They are as listed below. Traversing through the list, Using HashSet, Using Floyd's Cycle Detection Algorithm
How to use pandas.Series.map() [Practical Examples]
The pandas.Series.map() performs the mapping by first matching the values of the outer Series with the index labels of the inner Series. It then returns a new Series, with the index labels of the outer Series but the …
How to set up Java with Visual Studio Code
Step by Step instructions to set up Java with Visual Studio Code. Create and compile your first Java Program using VSC.
How to set up Java with Eclipse IDE [Step-by-Step]
Step by step instructions to set up Java with Eclipse IDE. create your first Java program using Eclipse and execute the same.
8 different ways to use assert in Node.js [Practical Examples]
The purpose of the assert module in Node.js is to provide various ways of asserting functions. For instance, if the assertion. It is used to test the functionality of functions in Node.js.
Let's explore pandas.DataFrame.resample with Examples
In this tutorial we explain usage of pandas resample using multiple methods and examples. Frequency conversion provides basic conversion of data using the new frequency intervals and allows the filling of missing data …
5 ways you can create histogram using pandas DataFrame
In this tutorial we learned to create histogram in Pandas with following parameters, with specific size, with number of bins, Histogram with specific color, with figsize
Learn to use pandas.unique() with Series/DataFrame
unique() function is used to get the distinct / unique data from Series/DataFrames. It can be applied on the columns in the dataframe. The unique() method returns a NumPy ndarray of unique values from the Series
Pandas DataFrame.rolling() Explained
Pandas rolling() function is used to provide the window calculations for the given pandas object. By using rolling we can calculate statistical operations like mean(), min() , max() and sum() on the rolling window.
Exploring pandas melt() function [Practical Examples]
Pandas melt() function is used to unpivot a DataFrame from wide to long format, optionally leaving identifiers set. A pivot table aggregates the values in a data set.
4 different ways to read JSON file in NodeJS
In this tutorial we will cover following methods to read JSOn file in NodeJS; Using fs module, require function and third party NPM libraries such as jsonfile and bfj
Convert list of dictionaries to DataFrame
Pandas convert list of dictionaries to ataframe using pandas.DataFrame(), pandas.DataFrame() with index, pandas.DataFrame() with index and columns, pandas.DataFrame() with from_records() function, pandas.DataFrame() with …
Compare loc[] vs iloc[] vs at[] vs iat[] with Examples
In this article we will cover different examples to understand the difference between loc[] vs iloc[] and at[] vs iat[] in Python pandas
How to change the order of Pandas DataFrame columns
how to change the order of columns in panads dataframe using the following methods, Using reindex() function, sort_index() function, indexing or Move columns to particular position
How to count rows in a pandas DataFrame [Practical Examples]
In pandas we can count rows Using axes() function, shape() function, index Using info() method, len() function, count() function, value_counts() function
4 ways to drop columns in pandas DataFrame
Following methods can be used to drop columns in pandas dataframe: Using drop() method, using drop() with columns method, using drop() with loc[] method, using drop() with iloc[] method
6 ways to select columns from pandas DataFrame
Select column using column name with "." operator or []. Get all column names using columns method or using info() method. Describe the column statistics using describe() method. Select particular value in a column
5 ways to select multiple columns in a pandas DataFrame
Pandas select multiple columns using column name with [], columns method, loc[] function, iloc[] function, drop() method
6 ways to add column to existing DataFrame in pandas
In this tutorial we covered following methods which can be used to add column to existing dataframe using [] with None value, [] with Constant value, [] with values, insert() method, assign() method, [] with NaN value
7 ways to convert pandas DataFrame column to int
In this article we covered multiple examples to convert different types of column to int type in pandas DataFrame
Accessor and Mutator Methods in Java
The knowledge of Java Accessor and Mutator is very useful as it implements encapsulation, which is one of the important feature of Object oriented Programming.
How to bypass CSRF Protection [5 Different Methods]
In this article, we have learnt about what is an CSRF attack and how we can use CSRF attacks to exploit and also bypass CSRF protection.
How to Parse CSV Data in NodeJS
In this article, you learned how to parse CSV data in three ways. The first method reads the whole string then splits it into rows and columns.The second method solves this issue by reading the CSV line by line. The last …
Unary Operators in Java Explained
SUpported Unary operators in java are Unary Plus Operator(+), Unary Minus Operator(-), Logical NOT Operator (!), Increment Operator (++), Decrement Operator (--)
Logical Operators in Java Explained
Logical operators in Java can be divided into, Logical OR Operator(||), Logical AND Operator(&&), Logical NOT Operator (!)
Bitwise Operators in Java Explained
Bitwise operators in Java are binary operators that works on bits to perform its operations. Java supports the following Bitwise operators: Bitwise OR Operator(|), Bitwise AND Operator(&), Bitwise XOR Operator (^), …
Relational Operators in Java Explained
In this tutorial, we covered all relational operators in Java. We learned in detail about the syntax and how we can use this operators with different data types and objects with example.
Use Burp Suite Proxy to Intercept Network Traffic [Step-by-Step]
Step by step instructions to setup and configure burp suite proxy to intercept network traffic with examples.
Getting started with Terraform - Tutorial
Step by step instructions to install terraform on Ubuntu. Deploy AWS EC2 Instance (Infrastructure) using terraform with screenshots and code examples.

