text_plain_output_1.png
import matplotlib.pyplot as plt

import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

ted = pd.read_csv('../input/ted_main.csv')

ted.corr()

ted.sort_values('views', ascending=False).head(5)

ted.sort_values('views', ascending=True).head(5)

fig = plt.figure()
axes = fig.add_axes([0, 0, 1, 1])
axes.set_xlabel('views')
axes.set_ylabel('comments')
axes.plot(ted['views'], ted['comments'], ls='', marker='.')