My personal notes on Python LINKS Dictionaries 1 - OrderedDict2 - Dictionary comprehensions3 - Write/Read data to/from a JSON file4 - Accessing key,value pairs Lists 1 - List Comprehensions2 - Flatten a list of lists3 - Reverse a list4 - Sort a list of tuples by value5 - if-else inside a List Comprehension6 - Index of element in a list7 - Sum of second values in list of tuples8 - Unpacking lists to formatted strings9 - Splitting strings in Python ML 1 - K-Means Clustering algorithm OpenCV 1 - Read, show and write an image in Open CV2 - Reading web cam video pandas 1 - Dataframe from dictionary2 - Copy columns from one dataframe to new dataframe3 - Drop columns from a dataframe4 - Access columns using column names5 - Fetching unique elements from a column6 - Sort Dataframe by column values7 - Dataframe to Numpy array regex 1 - re.match()2 - re.search()3 - re.findall()4 - re.findall() to find overlapping matches5 - re.sub() Strings 1 - String Formatting Tensorflow 1 - Load data using ImageDataGenerator2 - Use of fit_generator method