Article
A stream represents a sequence of elements and supports different kind of operations that lead to the desired result. The source of these elements is usually a Collection or an Array, from which data is provided to the stream. Streams differ from collections in several ways; most notably in that...
Branko Ilic
K-Means is one of the simplest and most popular clustering algorithms in data science. It divides data based on its proximity to one of the K so-called centroids - data points that are the mean of all of the observations in the cluster. An observation is a single record of...
Darinka Zobenica
At some point in your software development path, you'll have to convert files from one format to another. DOCX (used by Microsoft Word) is a pretty common file format for a lot of people to use. And sometimes, we'd like to convert Word Documents into HTML. This can easily be...
Ruslan Hasanov
In this article, we'll dive into Inheritance Mapping with JPA and Hibernate in Java. The Java Persistence API (JPA) is the persistence standard of the Java ecosystem. It allows us to map our domain model directly to the database structure and then gives us the flexibility of only manipulating objects...
François Dupire
Splitting strings and lists are common programming activities in Python and other languages. Sometimes we have to split our data in peculiar ways, but more commonly - into even chunks. The language does not have a built-in function to do this and in this tutorial, we'll take a look at...
Sathiya Sarathi Gunasekaran
The print() function in Python appends a newline to the output when displayed on the tty (teletypewriter A.K.A the terminal). When you don't want your message displayed with newlines or with spaces, how can you change the behavior of print()? This can easily be achieved by altering the...
Application properties may vary in different environments like how the hosts on your QA environment may vary from your local and production environments. Using Spring Boot, different environments can be configured and updated separately without affecting other environments with the use of property files. In this article, we'll be demonstrating...
Rayven Yor Esplanada
Pandas is an extremely popular data manipulation and analysis library. It's the go-to tool for loading in and analyzing datasets for many. Correctly sorting data is a crucial element of many tasks regarding data analysis. In this tutorial, we'll take a look at how to sort a Pandas DataFrame by...
Rikesh Nichani
In this tutorial, we'll take a look at how to check if a list contains an element or value in Python. We'll use a list of strings, containing a few animals: animals = ['Dog', 'Cat', 'Bird', 'Fish'] Check if List Contains Element With...
Guest Contributor
© 2013-2026 Stack Abuse. All rights reserved.