How can I transform a pandas df to this kind of json structure?
Let’s say I have a pandas df like this:
Let’s say I have a pandas df like this:
I have 12 columns of ingredients and 12 respective columns of measurements of those ingredients. For some rows the ingredients are specified but the measurements are not i.e. they are NA. I want to set up a condition such that if a certain ingredient entry is not NA and the corresponding entry is NA, set the corresponding measurement entry to 1.
How to get the text of the message to which the person has put a reaction? Is it possible?
I can train a XGBoost model using Sagemaker images like so:
i have the below dataframe
I’m trying to create an API using FastAPI + MongoDB that can return multiple values from the request. The MongoDB is full of data and using mongoengine I can consult one or all data when sending a request to the specific endpoint.
What I’m trying to do now is receive one or more data from an endpoint, for example:
I have some program of this kind of type:
Images that I would like to use to train the network are about the size of 4000px*3000px and about 40k of them, sorted in 250 classes.
I have made a CNN shown below:
Thank you for your time. I am not an advanced programmer. I am taking 1 programming course. I understand the basics and an okay amount of Python. Please don’t destroy the little confidence I have in programming. I realize the answer may exist but I haven’t found it yet with my searching skills.
Sorry if this question’s asked before, but I’ve never seen it yet.