Articles by Deepak Prasad
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.
Install GCC on Rocky Linux PROPERLY
step-by-step guide to install GCC on Rocky Linux. We also went further and wrote a C program to add two numbers, and further looked at how GCC carries out compilation
How to PROPERLY test port connectivity in Linux
Multiple methods and commands to test port connectivity between Linux server and client with examples. Check availability of multiple ports in Linux for firewalls or network issues.
Metasploit Tutorial on Kali Linux
Step by step instructions in the tutorial to install and use metasploit framework on kali Linux
DVWA SQL Injection Exploitation Explained (Step-by-Step)
SQL injection proves to be a critical vulnerability that can exist in a system. The DVWA acts as a reliable resource for both penetration testers who want to improve their skills and web developers who want to develop …
Password Cracker - John The Ripper (JTR) Examples
John The Ripper (JTR) is one of the most popular password cracking tools available in most Penetration testing Linux distributions like Kali Linux, Parrot OS, etc
Install Kali Linux on Raspberry Pi
Step by Step instructions to install and setup Kali Linux on Raspberry Pi 2,3 and 4 with screenshots.
Kali Linux Repositories Explained [With Examples]
Kali Linux repositories are found in the /etc/apt/sources.list file. There are 3 different branch i.e. Kali-rolling branch, Kali-last snapshot branch, Kali- experimental branch
Install iRedMail on Rocky Linux 8 [Step-by-Step]
Step by Step instructions to install iredmail on rocky linux 8 with screenshots. Install and Configure iredmail server GUI
Check Kubernetes Cluster Version
In this tutorial I will share multiple methods and commands to check Kubernetes Cluster Version in a Kubernetes Cluster.
Add timestamp to SSHD DEBUG logs
Add timestamp to SSHD DEBUG logs using while loop. Prepend timestamp to STDOUT and log file for DEBUG logs
How to add label to running pod in Kubernetes
There are two methods to add label to running pod in Kubernetes. Using kubectl label pods or kubectl edit command to edit a resource object.
Install WireGuard VPN Rocky Linux 8
Step by step instructions to install wireguard VPN on Rocky Linux. Configure network, firewall and test the VPN

