The fix in #1010 introduces a performance regression. We should investigate faster ways to find categories. A solution is to ask the user to set the categories explicitly by converting string columns to Categorical before parsing it with PointsModel.parse().