Closed sachinstl closed 4 months ago
In create_rank function, we can either give string or list of strings for hrvar parameter as per function definition, but when I give string for hrvar parameter, it is throwing keyword error.
create_rank
hrvar
create_rank(data = pq_data_small, hrvar = "FunctionType", metric = "Emails_sent", return_type = "plot")
The same works if we pass it as a list:
Either we should only accept list of strings for hrvar parameter or we should handle the case when hrvar is string.
In
create_rank
function, we can either give string or list of strings forhrvar
parameter as per function definition, but when I give string forhrvar
parameter, it is throwing keyword error.The same works if we pass it as a list:
Either we should only accept list of strings for
hrvar
parameter or we should handle the case whenhrvar
is string.