Tux Machines

Programming Leftovers

Posted by Roy Schestowitz on Jun 30, 2023

today's leftovers
Gemini Articles of Interest

FSF Blogs: June GNU Spotlight with Amin Bandali: Twelve new GNU releases!

↺ FSF Blogs: June GNU Spotlight with Amin Bandali: Twelve new GNU releases!

Machine Learning workflow with tidymodels in R workshop

↺ Machine Learning workflow with tidymodels in R workshop
Join our workshop on Machine Learning workflow with tidymodels in R, which is a part of our workshops for Ukraine series!

This Week In Rust: This Week in Rust 501

↺ This Week In Rust: This Week in Rust 501
Hello and welcome to another issue of This Week in Rust!

Seaborn Lineplot

↺ Seaborn Lineplot
In Python, the “seaborn.lineplot()” function of the “Seaborn” module is used to plot single or multiple continuous line plots.

Seaborn Histplot

↺ Seaborn Histplot
The “seaborn.histplot()” method is used to plot the univariate or bivariate histogram based on the specified “bins” value.

Seaborn Figure Size

↺ Seaborn Figure Size
The “matplotlib.pyplot.subplots()” method with “figsize={width, height}” and “seaborn.set()” method is used to change the seaborn figure size in Python.

SciPy Convolve

↺ SciPy Convolve
In Python, the “scipy.signal.convolve()” function of the “scipy.signal” module is used to perform convolution on two arrays.

Remove Punctuation from String Python

↺ Remove Punctuation from String Python
The “string.translate()” method, “for” loop, “re.sub()” function and “filter()” function is used to remove punctuation from a string.

The Python Sort List of Tuples

↺ The Python Sort List of Tuples
The “sorted()” function and the “list.sort()” method are used to sort the list of a tuple in ascending, descending or based on the key value.

Reverse order of a List in Python

↺ Reverse order of a List in Python
The “reverse()” method, “List Comprehension”, “slice()” function and the “for” loop are utilized to reverse the order of a Python list.

Python String ljust() Method

↺ Python String ljust() Method
In Python, the “string.ljust()” method is utilized to left justified/align the specified string with the given returned string length value.

SciPy ANOVA One-Way

↺ SciPy ANOVA One-Way
The “scipy.stats.f_oneway()” function of the “seaborn” library is employed to perform a one-way analysis of variance (ANOVA) test.

SciPy Optimize Root

↺ SciPy Optimize Root
In Python, the “scipy.optimize.root()” function of the “seaborn” library is utilized to determine the root of a vector function.

Seaborn Boxplot

↺ Seaborn Boxplot
The “seaborn.boxplot()” method of the “seaborn” library in Python is used to draw/plot the distributions with respect to categories.

Remove Item From List Python

↺ Remove Item From List Python
The “list.remove()” method, “pop()” method, “clear()” method, “del” keyword and “List Comprehension” are used to remove the item from the list.

Python String translate() Method

↺ Python String translate() Method
The "string.translate()" method in Python takes the translation table and returns a string mapped to the character values.
gemini.tuxmachines.org