Top Posts in Python
Android TextView Copy Paste Using Clipboard
In this tutorial, we’ll implement the copy-paste feature on a TextView in our Android Application. At the end of this article, you’d be able to copy a text to the Android System’s Clipboard and then….
Pandas DataFrame groupby() Function
1. Pandas groupby() function Pandas DataFrame groupby() function is used to group rows that have the same values. It’s mostly used with aggregate functions (count, sum, min, max, mean) to get the statistics based on….
Pandas melt() and unmelt using pivot() function
Pandas melt() function is used to change the DataFrame format from wide to long. It’s used to create a specific format of the DataFrame object where one or more columns work as identifiers. All the….
Pandas cut() Function Examples
1. Pandas cut() Function Pandas cut() function is used to segregate array elements into separate bins. The cut() function works only on one-dimensional array-like objects. 2. Usage of Pandas cut() Function The cut() function is….
Java String Functions – 25+ MUST Know Methods
Java String Functions Java String class has a lot of functions to manipulate strings. There are many methods to get the characters and bytes of the string object. There are methods to split the string….
Linux tail Command Examples
Linux tail command outputs the last part of the files. There is an option to keep the file open for further entries. This makes it very useful to work with log files where we can….
LiteSpeed Web Server “Resume All Listeners” Workaround
I am using LiteSpeed Web Server. It works great when used with the LiteSpeed Cache WordPress plugin. However, sometimes I see that the error.log is filled with the “Resume All Listeners” notice messages. 2019-10-22 14:11:09.999551….
Python Excel to JSON Conversion
There are many ways to convert an excel file to JSON data. In this tutorial, we will look into two python modules to convert excel files to JSON. excel2json-3 Pandas Converting Excel File to JSON….
Openpyxl: Python Module to Read/Write Excel Files
Python openpyxl module is a native library to work with excel files. We can read excel files as well as write excel files. 1) Installing Openpyxl Module We can install openpyxl module using the PIP….
Pandas concat() Examples
Pandas concat() method is used to concatenate pandas objects such as DataFrames and Series. We can pass various parameters to change the behavior of the concatenation operation. 1. Pandas concat() Syntax The concat() method syntax….