Skip to content
This repository has been archived by the owner on Nov 16, 2022. It is now read-only.

is_bot does not accept DataFrames with more than one observation #5

Open
vviers opened this issue Jul 15, 2021 · 0 comments
Open

is_bot does not accept DataFrames with more than one observation #5

vviers opened this issue Jul 15, 2021 · 0 comments
Assignees

Comments

@vviers
Copy link
Collaborator

vviers commented Jul 15, 2021

Problem 🤕

The botfinder.bot_classifier.is_bot function takes a DataFrame but (implicitly!) assumes that the DataFrame will only contain 1 observation. This makes it impossible to use the function to predict multiple observations at the same time.

Solution 😃

Slight changes to the is_bot function will allow it to make predictions for multiple observations at the same time.
The function should return an array of objects instead of an object.

@vviers vviers changed the title is_bot does not accept multi-row DataFrames is_bot does not accept DataFrames with more than one observation Jul 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants