rstudio / vetiver.posit.co

Website for the vetiver 🏺 framework
https://vetiver.posit.co/
12 stars 8 forks source link

Adding drop ptype_data to Python example #40

Closed cpmgs closed 2 years ago

cpmgs commented 2 years ago

The following code:

v = VetiverModel(car_mod, model_name = "cars_mpg", 
                 save_ptype = True, ptype_data = mtcars.drop(columns="mpg"))

exists under Deploy -> Python -> Review of previous steps (https://vetiver.rstudio.com/get-started/deploy.html) but does not exist under Version -> Python -> Store and version your model (second code block under the headline).

This PR merely corrects that.

isabelizimm commented 2 years ago

Thank you for this fix! 🙌