import pandas as pd
df = pd.DataFrame({'Director': ['Steven Spielberg', 'Martin Scorsese', 'Steven Spielberg', 'Quentin Tarantino', 'Martin Scorsese', 'Steven Spielberg'],
'Movie': ['Jaws', 'Goodfellas', 'Jurassic Park', 'Pulp Fiction', 'Raging Bull', 'E.T.']})
Director Movie
0 Steven Spielberg Jaws
1 Martin Scorsese Goodfellas
2 Steven Spielberg Jurassic Park
3 Quentin Tarantino Pulp Fiction
4 Martin Scorsese Raging Bull
5 Steven Spielberg E.T.
PySpark GroupBy Examples
How To Iterate Over Rows In A Dataframe In Pandas
Pandas How To Sort Columns And Rows
A Study of the TextRank Algorithm in Python
How To Append Rows With Concat to a Pandas DataFrame
Select Pandas Dataframe Rows And Columns Using iloc loc and ix
An Anatomy of Key Tricks in word2vec project with examples
Python IndexError List Index Out of Range
Summarising Aggregating and Grouping data in Python Pandas