Article
Matplotlib is one of the most widely used data visualization libraries in Python. Much of Matplotlib's popularity comes from its customization options - you can tweak just about any element from its hierarchy of objects. In this tutorial, we'll take a look at how to change the tick frequency in...
David Landup
Introduced in Java 8, the Stream API is commonly used for filtering, mapping and iterating over elements. When working with streams, one of the common tasks is finding duplicate elements. In this tutorial, we'll be covering several ways to find duplicate elements in a Java Stream. Collectors.toSet() The easiest...
Ilkyaz Altuntas
Matplotlib is one of the most widely used data visualization libraries in Python. Much of Matplotlib's popularity comes from its customization options - you can tweak just about any element from its hierarchy of objects. In this tutorial, we'll take a look at how to set the axis range (xlim,...
Oftentimes, we are faced with a situation where we need to split a string at some specific character or substring, to derive some useful information from it. For example, we might want to split a phone number on the country code or data imported from a CSV file. In this...
Guest Contributor
Seaborn is one of the most widely used data visualization libraries in Python, as an extension to Matplotlib. It offers a simple, intuitive, yet highly customizable API for data visualization. In this tutorial, we'll take a look at how to plot a scatter plot in Seaborn. We'll cover simple scatter...
It's common to see if __name__ == "__main__" in Python scripts we find online, or one of the many we write ourselves. Why do we use that if-statement when running our Python programs? In this article, we explain the mechanics behind its usage, the advantages, and where it can...
Sathiya Sarathi Gunasekaran
State-of-the-art technologies in NLP allow us to analyze natural languages on different layers: from simple segmentation of textual information to more sophisticated methods of sentiment categorizations. However, it does not inevitably mean that you should be highly advanced in programming to implement high-level tasks such as sentiment analysis in Python....
Natalia Kuzminykh
The term slicing in programming usually refers to obtaining a substring, sub-tuple, or sublist from a string, tuple, or list respectively. Python offers an array of straightforward ways to slice not only these three but any iterable. An iterable is, as the name suggests, any object that can be iterated...
Kristina Popovic
Matplotlib is one of the most widely used data visualization libraries in Python. From simple to complex visualizations, it's the go-to library for most. In this guide, we'll take a look at how to plot a Scatter Plot with Matplotlib. Scatter Plots explore the relationship between two numerical variables (features)...
© 2013-2025 Stack Abuse. All rights reserved.