Devesh Chauhan

Devesh Chauhan

47 Articles Published

Articles by Devesh Chauhan

Page 4 of 5

Drop duplicate rows in PySpark DataFrame

Devesh Chauhan
Devesh Chauhan
Updated on 05-May-2023 571 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

Drop columns in DataFrame by label Names or by Index Positions

Devesh Chauhan
Devesh Chauhan
Updated on 05-May-2023 258 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

Drop a list of rows from a Pandas DataFrame

Devesh Chauhan
Devesh Chauhan
Updated on 05-May-2023 565 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

Plotting stock charts in excel sheet using xlsxwriter module in python

Devesh Chauhan
Devesh Chauhan
Updated on 09-Mar-2023 279 Views

Factors such as data analysis and growth rate monitoring are very important when it comes to plotting stock charts. For any business to flourish and expand, the right strategy is needed. These strategies are built on the back of a deep fundamental research. Python programming helps us to create and compare data which in turn can be used to study a business model. Python offers several methods and functions through which we can plot graphs, analyse growth and introspect the sudden changes. In this article we will be discussing about one such operation where we will plot a stock chart ...

Read More

Types of graphics are supported by HTML5?

Devesh Chauhan
Devesh Chauhan
Updated on 27-Feb-2023 1K+ Views

Graphics are the visual representations that are used to represent any idea or imagination in order to enhance the overall experience of the website for the user. Graphics helps in conveying a complex message to the user in a simple and understandable way. Some ways of representing message in graphics are through photos, arts, diagrams, flowchart etc. Graphics in HTML are used for enhancing the appearance of webpage or website and to make the user interaction simple. There are different uses of graphics in HTML for which we have different technologies. We will discuss few of them below. SVG ...

Read More

Why we should not use tables for HTML Layout?

Devesh Chauhan
Devesh Chauhan
Updated on 27-Feb-2023 452 Views

In this article we will discuss about Table layout and its functions. We will understand why table layout is the least used layout in HTML and why it is not much recommended layout while designing website. A layout in HTML specifies the fundamental organisation and visual style of a website. A website's HTML layout serves as a guide for how the HTML elements should be placed. It gives you the ability to build websites with basic HTML tags. Table Layout Due to its complexity, table layout is one of the least recommended layouts in HTML. It is based on ...

Read More

Div Layout vs. Table Layout in HTML

Devesh Chauhan
Devesh Chauhan
Updated on 27-Feb-2023 6K+ Views

In HTML, a layout defines the basic structure and appearance of a website. HTML layout is a blueprint that shows us how the HTML elements are arranged in a webpage. It provides you the functionality of creating webpages using simple HTML tags. DIV Layout Div layout is the most common layout in HTML and is based on elements. element in HTML is used to define section of document. tag is a container tag i.e. it has both opening and ending tag. We can define multiple elements inside a HTML document and each of them ...

Read More

Use of the DFN element type in HTML

Devesh Chauhan
Devesh Chauhan
Updated on 27-Feb-2023 436 Views

We will discuss about element syntax, properties and different ways of using it in HTML. And at last, we will understand why is it suggested to use element in your HTML document. But before all this we must learn about HTML element. HTML element is a section of an HTML document that tells the browser, how to represent the information of that section. It contains necessary information like instructions, idea of the webpage and main content. HTML element mainly consists of three parts − Opening tag − It marks the beginning of the HTML element ...

Read More

Pos tagging and lammetization using spacy in python

Devesh Chauhan
Devesh Chauhan
Updated on 27-Feb-2023 1K+ Views

Python acts as an integral tool for understanding the concepts and application of machine learning and deep learning. It offers numerous libraries and modules that provides a magnificent platform for building useful techniques. In this article we will discuss about one such library known as “spaCy”. spaCy is an open-source library and is used to analyse and compare textual data. We will discuss about this library in detail but before we dive deep into the topic, let’s quickly go through the overview of this article and understand the itinerary. This article is divided into two sections − In ...

Read More

Ways to create a dictionary of lists in python

Devesh Chauhan
Devesh Chauhan
Updated on 27-Feb-2023 3K+ Views

A dictionary in python is a collection of data stored in the form of key value pair. We can assign different datatypes as the value for a key. It helps the coder to store data and categories genres and build databases accordingly. List on the other hand also stores data but here elements are not associated with multiple values. Both dictionaries and lists are indexed. In list we store data in the form of sequences and these sequences can be traversed and manipulated. In this article we will merge the two formats together and create a dictionary of ...

Read More
Showing 31–40 of 47 articles
Advertisements