Nitya Raut has Published 272 Articles

Data Analysis and Visualization in Python?

Nitya Raut

Nitya Raut

Updated on 30-Jul-2019 22:30:25

1K+ Views

Python provides numerous libraries for data analysis and visualization mainly numpy, pandas, matplotlib, seaborn etc. In this section, we are going to discuss pandas library for data analysis and visualization which is an open source library built on top of numpy.It allows us to do fast analysis and data cleaning ... Read More

Creating multiple process using fork() in C

Nitya Raut

Nitya Raut

Updated on 30-Jul-2019 22:30:25

2K+ Views

In this section we will see how to use the fork() to make child process in C. We also do some different tasks in each process. So in our parent process we will print different values.When fork() is called, it returns a value. If the value is greater than 0, ... Read More

Calculation in parent and child process using fork() in C++

Nitya Raut

Nitya Raut

Updated on 30-Jul-2019 22:30:25

2K+ Views

In this section we will see how to use the fork() to make child process in C++. We also do some calculation into each process. So in our parent process we will find sum of all even numbers of an array, and inside the child process we will count the ... Read More

Get clicked item and its position in RecyclerView?

Nitya Raut

Nitya Raut

Updated on 30-Jul-2019 22:30:25

3K+ Views

This example demonstrate about how to get clicked item and its position in RecyclerViewStep 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.     ... Read More

Chrono library in C++

Nitya Raut

Nitya Raut

Updated on 30-Jul-2019 22:30:25

590 Views

In this section we will see what is the Chrono library in C++. This Chrono library is used for date and time. Timers and clocks are different in different systems. So if we want to improve time over precision we can use this library.In this library, it provides precision-neutral concept, ... Read More

How can I make my custom objects Serializable?

Nitya Raut

Nitya Raut

Updated on 30-Jul-2019 22:30:25

205 Views

This example demonstrate about how can I make my custom objects SerializableStep 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.     In the ... Read More

How to update ui from Intent Service in android?

Nitya Raut

Nitya Raut

Updated on 30-Jul-2019 22:30:25

2K+ Views

Before getting into example, we should know what Intent service is in android. Intent Service is going to do back ground operation asynchronously. When user call startService() from activity , it doesn’t create instance for each request. It going to stop service after done some action in service class or ... Read More

C++ Program to Count Inversion in an Array

Nitya Raut

Nitya Raut

Updated on 30-Jul-2019 22:30:25

658 Views

Count inversion means the number of switches required to make an array sorted. Inversion count = 0, when array is sorted. Inversion count = maximum, when the array sorted in reverse order.Let us develop a C++ program to count Inversion in an Array.AlgorithmBegin    Function CountInversionArray has arguments a[], n ... Read More

How add a unique key constraint to a column of a table in a database using JDBC API?

Nitya Raut

Nitya Raut

Updated on 30-Jul-2019 22:30:25

431 Views

You can add a unique constraint to a column using the ALTER TABLE commandSyntaxALTER TABLE table_name ADD CONSTRAINT MyUniqueConstraint UNIQUE(column1, column2...);Assume we have a table named Dispatches in the database with 7 columns namely id, CustomerName, DispatchDate, DeliveryTime, Price and, Location with description as shown below:+--------------+--------------+------+-----+---------+-------+ | Field     ... Read More

How to add a NOT NULL constraint to a column of a table in a database using JDBC API?

Nitya Raut

Nitya Raut

Updated on 30-Jul-2019 22:30:25

324 Views

You can add a not null constraint to a column of a table using the ALTER TABLE command.SyntaxALTER TABLE table_name MODIFY column_name datatype NOT NULL;Assume we have a table named Dispatches in the database with 7 columns namely id, CustomerName, DispatchDate, DeliveryTime, Price and, Location with description as shown below:+--------------+--------------+------+-----+---------+-------+ ... Read More

Advertisements