Learn how to use the Python floor function to round numbers down. Learn the differences between Python 2 and 3 and how to do floor division.
Learn how to calculate a Python absolute value using the abs() function, as well as how to calculate in numpy array and a pandas dataframe.
Learn how to calculate the variance of a variable in Pandas, including how to calculate for a single column, multiple or a whole dataframe.
Learn how to use Python to convert a dictionary into a list of tuples, using list comprehensions, the zip function, and collections.
Learn how to use Python to shuffle a list, including being able to reproduce a given result and shuffling Python lists of lists.
Learn how to use Python to pretty print a dictionary using the pprint and json libraries, including nested dictionaries and saving to a file.
Learn how to use Python to delete a file or a directory, using the os, shutil, and pathlib libraries. Also learn how to handle errors.
Learn how to use Python to get the filename from a path, with or without the file’s extension, using the os and pathlib libraries.
Learn how to find the intersection between two lists in Python, including using list comprehensions, set methods and the numpy library.
Learn how to use Python to check if a string is a palindrome, using string indexing, for loops, the reversed function in Python!
Learn how to use Python to find all permutations of a string, including using itertools, recursion, and a Python for loop.
Learn how to use Python to subtract two lists, using the numpy library, the zip function, for-loops, as well as list comprehensions.