stan-dev / cmdstanpy

CmdStanPy is a lightweight interface to Stan for Python users which provides the necessary objects and functions to compile a Stan program and fit the model to data using CmdStan.
BSD 3-Clause "New" or "Revised" License
149 stars 67 forks source link

Allow the 'vars' argument to draws_pd to filter new columns #718

Closed WardBrian closed 5 months ago

WardBrian commented 7 months ago

Submission Checklist

Summary

Closes #717. This makes it so the columns added in #677 (e.g. chain__) can be filtered by using the vars argument, the same way e.g. lp__ can.

Copyright and Licensing

Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company): Simons Foundation

By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:

WardBrian commented 5 months ago

@mitzimorris mind reviewing?