Plotly table using plotly ff

I tried to copy the first example code in the plotly documentation for creating tables and ran it .Yet I see an error. I am very new to programming and plotly. Kindly look into it and suggest remedies.