Steps to reproduce:
Run
fails with
head failed.
must be real number, not str
 
However, omitting the variable rep78 (which has missing data)
%head make price mpg headroom trunk weight length turn displacement gear_ratio foreign
 
gives the desired result:

Note: I am getting this error on a campus jupyterlab instance and believe the version of nbstata is fairly new as this was implemented last week, but can't verify at the moment.