text_html_output_1.png
import matplotlib.pyplot as plt

import pandas as pd

lb_data = pd.read_csv('../input/leaderboard-4-days-out/jigsaw-unintended-bias-in-toxicity-classification-publicleaderboard.csv')

lb_data = lb_data.set_index('SubmissionDate')

top_15_teams = lb_data.groupby('TeamId').max().sort_values('Score')[-15:]['TeamName'].values

top_15_subs = lb_data.loc[lb_data['TeamName'].isin(top_15_teams)]

top_15_subs = top_15_subs.drop('TeamId', axis=1)

top_15_subs.pivot(columns='TeamName', values='Score')

for i in top_15_subs.pivot(columns='TeamName', values='Score').interpolate():
    top_15_subs.pivot(columns='TeamName', values='Score')[i].dropna().plot(legend=True, ylim=(0.93, 0.95), figsize=(12, 12), title=str(i))
    plt.show()