With Pandas version 0.13.0 or newer, pandas.rpy.common.load_data
can load higher dimensional datasets such as Titanic
:
import pandas.rpy.common as com
df = com.load_data('Titanic')
print(df.head())
yields
Survived Age Sex Class value
0 No Child Male 1st 0.0
1 No Child Male 2nd 0.0
2 No Child Male 3rd 35.0
3 No Child Male Crew 0.0
4 No Child Female 1st 0.0