removeprefix() vs lstrip(), removesuffix vs rstrip() Photo by Vlada Karpovich from Pexels New string methods in Python 3.9 In Python 3.9, new string methods removeprefix() and removesuffix() are
removeprefix() vs lstrip(), removesuffix vs rstrip() Photo by Vlada Karpovich from Pexels New string methods in Python 3.9 In Python 3.9, new string methods removeprefix() and removesuffix() are
Descriptive Statistics in Python Descriptive statistics include those that summarize the central tendency, dispersion, and shape of a dataset’s distribution. Measure of central tendency Measure
Indexing and slicing Photo by Magda Ehlers from Pexels Basic Indexing Basic Indexing can be done to access a particular element from the NumPy arrays. 1. One-dimensional
Data Science, Programming Different ways of indexing pandas dataframe Photo by Moose Photos from Pexels Indexing and Slicing Pandas Dataframe Indexing and Slicing Pandas DataFrame can
Better sorting Photo by Sharon McCutcheon from Pexels Sorting Pandas Dataframes Pandas dataframes can be sorted by index and values: Image by Author We can sort pandas
‘==’ vs ‘is’ vs ‘in’ operator in Python Photo by Rodolfo Clix from Pexels Equality vs Identity vs Membership Operation In python, we might have seen is,