69 .def("get_feature_names", [](constbr::Data::Dataset &d) {return d.feature_names; }) // wrapping it into a function to keep consistent with get_feature_types. brush feature types are not native to python, so that's why we need that function to cast it to something python can understand.
70
71 .def_readwrite("y", &br::Data::Dataset::y) // TODO: should this be read only?