
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
Found 33676 Articles for Programming

4K+ Views
Generating random numbers is a common requirement in many programming applications. Golang offers built-in functionality to generate random numbers of different types. In this article, we will discuss how to generate random Int type numbers in Golang. What is Int Type? Int is a data type in Golang that represents an integer number. The size of the Int type depends on the architecture of the computer and can be either 32 or 64 bits. Int types are commonly used in programming applications for counting and indexing. Generating Random Int Type Numbers in Golang To generate a random Int type number ... Read More

1K+ Views
When we are dealing with complex datasets, we require frameworks that can process data quickly and provide results. This is where PySpark comes into the picture. PySpark is a tool which was developed by the Apache community to process data in real time. It is an API which is used to create data frames and interpret results in our local python environment. The data frame can contain huge amount of information/data and in order to maintain the relevance of the data to be interpreted we make the required changes. In this article, we will manipulate a PySpark data frame ... Read More

2K+ Views
In Golang, generating random numbers is a common task that is required in many applications. However, the type of random number generated is important as it affects the precision and range of the number. In this article, we will discuss how to generate random Float64 type numbers in Golang. What is Float64 Type? Float64 is a data type in Golang that represents a floating-point number with 64 bits of precision. It is a double-precision floating-point format that can store values with a larger range and higher precision than a Float32 type. Float64 types are commonly used in scientific and engineering ... Read More

1K+ Views
The PySpark data frame is a powerful, real time data processing framework which was developed by the Apache Spark developers. Spark was originally written in “scala” programming language and in order to increase its reach and flexibility, several APIs were built. These APIs provided an interface which can be used to run spark applications on our local environment. One such API is known as PySpark which was developed for the python environment. The PySpark data frame also consists of rows and columns but the processing part is different as it uses in-system (RAM) computational techniques for processing the data. ... Read More

10K+ Views
Pandas data frame is a very powerful data manipulation tool. It is a tabular data structure consisting of rows and columns. The size of this 2-D matrix can be variable depending upon the complexity of the dataset. We can use different type of sources to create a data frame ranging from databases to files. The columns in a pandas data frame represents a series of information and it can be an integer, float, or string. We can perform numerous operations on these columns including deletion, indexing, filtering etc. In this article, we will perform one such basic operation of ... Read More

508 Views
PySpark is a tool designed by the Apache spark community to process data in real time and analyse the results in a local python environment. Spark data frames are different from other data frames as it distributes the information and follows a schema. Spark can handle stream processing as well as batch processing and this is the reason for their popularity. A PySpark data frame requires a session in order to generate an entry point and it performs on-system processing of the data (RAM). You can install PySpark module on windows using the following command – pip install pyspark ... Read More

190 Views
A pandas data frame is a 2D data structure consisting of a series of entities. It is very useful in the analysis of mathematical data. The data is arranged in a tabular manner with each row behaving as an instance of the data. A Pandas data frame is special because it is empowered with numerous functions making it a very powerful programming asset. Each column in a data frame represents a series of information which is labelled. In this article, we will operate on these columns and discuss the various methods to drop columns in a pandas data frame. ... Read More

562 Views
MongoDB is a widely popular open-source database that stores data in a flexible JSON like format. It does not use the orthodox technique of storing data in rows and columns. Instead, it uses a more flexible approach which increases its scalability. This database is designed to handle large volumes of data and therefore, it is tailor made for modern applications. A MongoDB database consists of “collections” which is similar to a table in a RDBMS. A collection is a group of documents consisting of fields with different types of values. A database can contain numerous collections and each ... Read More

475 Views
The pandas library in python is widely popular for representing data in the form of tabular data structures. The dataset is arranged into a 2-D matrix consisting of rows and columns. Pandas library offers numerous functions that can help the programmer to analyze the dataset by providing valuable mathematical insights. The tabular data structure is known as a data frame that can be generated with the help of pandas DataFrame() function. In this article we will perform a simple operation of removing/dropping multiple rows from a pandas data frame. Firstly, we have to prepare a dataset and then ... Read More

298 Views
Generating random numbers is a common task in many programming applications. In Go, we can use the math/rand package to generate random numbers. In this article, we will explore how to get a random number of type float32 in Go. Using The Rand Package The math/rand package in Go provides a simple way to generate random numbers. We can use the Float32() function to generate a random number of type float32. Example Here's an example − package main import ( "fmt" "math/rand" "time" ) func main() { ... Read More