#!/usr/bin/env python # coding: utf-8 # In[1]: import pandas as pd pd.options.display.html.table_schema = True # In[2]: baseball_file = "https://raw.githubusercontent.com/pandas-dev/pandas/master/doc/data/baseball.csv" df = pd.read_csv(baseball_file).set_index(['id', 'player']) # In[3]: df.head(n=20) # In[4]: