Skip to content

%head fails with "head failed. must be real number, not str" #31

@roblem

Description

@roblem

Steps to reproduce:

sysuse auto

Run

%head

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:
image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions