Python scripting node data input

I have a Knime Table Reader node connected to a Python Script node.

My python script is:

import knime.scripting.io as knio

dataset = knio

print('Shape of the dataset: ’ + str(dataset.shape))

print(dataset.head())

The system complains that there are no attributes for shape or head.

It appears that I am not specifying knio properly for Knime to pass the data set.

What am I doing wrong?