rstudio / vetiver.posit.co

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

Polish Python sections of `/monitoring` #30

Closed juliasilge closed 2 years ago

juliasilge commented 2 years ago

@isabelizimm can you take care of a few polishing items for the new monitoring docs?

<string>:1: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy

That last one needs to be changed in both places where we call .predict.