Skip to content

Commit 80a5fed

Browse files
committed
Update stanfit docstrings
1 parent 1442ad8 commit 80a5fed

File tree

7 files changed

+10
-27
lines changed

7 files changed

+10
-27
lines changed

cmdstanpy/stanfit/gq.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -705,10 +705,7 @@ def _previous_draws_pd(
705705

706706
def save_csvfiles(self, dir: str | None = None) -> None:
707707
"""
708-
Move output CSV files to specified directory. If files were
709-
written to the temporary session directory, clean filename.
710-
E.g., save 'bernoulli-201912081451-1-5nm6as7u.csv' as
711-
'bernoulli-201912081451-1.csv'.
708+
Move output CSV files to specified directory.
712709
713710
:param dir: directory path
714711

cmdstanpy/stanfit/laplace.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -310,10 +310,7 @@ def column_names(self) -> tuple[str, ...]:
310310

311311
def save_csvfiles(self, dir: str | None = None) -> None:
312312
"""
313-
Move output CSV files to specified directory. If files were
314-
written to the temporary session directory, clean filename.
315-
E.g., save 'bernoulli-201912081451-1-5nm6as7u.csv' as
316-
'bernoulli-201912081451-1.csv'.
313+
Move output CSV files to specified directory.
317314
318315
:param dir: directory path
319316

cmdstanpy/stanfit/mcmc.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -824,10 +824,7 @@ def method_variables(self) -> dict[str, np.ndarray]:
824824

825825
def save_csvfiles(self, dir: str | None = None) -> None:
826826
"""
827-
Move output CSV files to specified directory. If files were
828-
written to the temporary session directory, clean filename.
829-
E.g., save 'bernoulli-201912081451-1-5nm6as7u.csv' as
830-
'bernoulli-201912081451-1.csv'.
827+
Move output CSV files to specified directory.
831828
832829
:param dir: directory path
833830

cmdstanpy/stanfit/mle.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -295,10 +295,7 @@ def stan_variables(
295295

296296
def save_csvfiles(self, dir: str | None = None) -> None:
297297
"""
298-
Move output CSV files to specified directory. If files were
299-
written to the temporary session directory, clean filename.
300-
E.g., save 'bernoulli-201912081451-1-5nm6as7u.csv' as
301-
'bernoulli-201912081451-1.csv'.
298+
Move output CSV files to specified directory.
302299
303300
:param dir: directory path
304301

cmdstanpy/stanfit/pathfinder.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -216,10 +216,7 @@ def is_resampled(self) -> bool:
216216

217217
def save_csvfiles(self, dir: str | None = None) -> None:
218218
"""
219-
Move output CSV files to specified directory. If files were
220-
written to the temporary session directory, clean filename.
221-
E.g., save 'bernoulli-201912081451-1-5nm6as7u.csv' as
222-
'bernoulli-201912081451-1.csv'.
219+
Move output CSV files to specified directory.
223220
224221
:param dir: directory path
225222

cmdstanpy/stanfit/vb.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -249,10 +249,7 @@ def variational_sample_pd(self) -> pd.DataFrame:
249249

250250
def save_csvfiles(self, dir: str | None = None) -> None:
251251
"""
252-
Move output CSV files to specified directory. If files were
253-
written to the temporary session directory, clean filename.
254-
E.g., save 'bernoulli-201912081451-1-5nm6as7u.csv' as
255-
'bernoulli-201912081451-1.csv'.
252+
Move output CSV files to specified directory.
256253
257254
:param dir: directory path
258255

cmdstanpy_tutorial.ipynb

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@
9898
"CmdStanPy will use the following optional packages, if installed:\n",
9999
"\n",
100100
"* `xarray`, an n-dimension labeled dataset package which can be used for outputs\n",
101+
"* `polars`, a highly-optimized data manipulation library, which can speed up processing outputs of large Stan models\n",
101102
"\n",
102103
"To install CmdStanPy with all the optional packages:\n",
103104
"\n",
@@ -408,7 +409,7 @@
408409
"hash": "d31ce8e45781476cfd394e192e0962028add96ff436d4fd4e560a347d206b9cb"
409410
},
410411
"kernelspec": {
411-
"display_name": "Python 3",
412+
"display_name": "Python 3 (ipykernel)",
412413
"language": "python",
413414
"name": "python3"
414415
},
@@ -422,9 +423,9 @@
422423
"name": "python",
423424
"nbconvert_exporter": "python",
424425
"pygments_lexer": "ipython3",
425-
"version": "3.8.5"
426+
"version": "3.10.19"
426427
}
427428
},
428429
"nbformat": 4,
429-
"nbformat_minor": 2
430+
"nbformat_minor": 4
430431
}

0 commit comments

Comments
 (0)