text_plain_output_1.png
import pandas as pd

poll = pd.read_csv('../input/2016-general-election-trump-vs-clinton.csv')

poll = poll.drop(['Pollster URL', 'Source URL', 'Partisan', 'Question Text', 'Question Iteration'], axis=1)

average = pd.DataFrame(poll.mean())
average.drop('Number of Observations', inplace=True)
average

std = pd.DataFrame(poll.std())
std.drop('Number of Observations', inplace=True)
std

poll_avg = pd.concat([average, std], axis=1)
poll_avg.column = ['Average', 'STD']
poll_avg