get_spec function

Examine the column specification