Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bento Service does not support pandas.core.series.Series as a type #4633

Open
ilyanoskov opened this issue Apr 3, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@ilyanoskov
Copy link

Describe the bug

I am using AsyncHTTPClient with Pandas dataframe as input to one of my services. I have created a simple Dataframe and use from_sample method to generate an input spec:

@svc.api(input=input_spec, output=JSON())
async def predict_vals(input_df: pd.Dataframe):
    ....

I get an error:

<class pandas.core.series.Series> is not yet supported

I think this has something to do with this #TODO comment:

# TODO: support extension dtypes

To reproduce

No response

Expected behavior

No response

Environment

BentoML: 1.2.9
Python: 3.11

@ilyanoskov ilyanoskov added the bug Something isn't working label Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant