BPt.Dataset.get_roles#

Dataset.get_roles()[source]#

This function can be used to get a dictionary with the currently loaded roles, See Role for more information on how roles are defined and used within BPt.

Returns
rolesdict

Returns the up to date dictionary of roles stored in self.roles, where each key is a column name and each value is the corresponding role.