Skip to content

Commit

Permalink
[doc] tutorial: use alchemlyb.concat (#399)
Browse files Browse the repository at this point in the history
replace `pandas.concat()` with `alchemlyb.concat()` in the tutorial (given that we explicitly tell users to use it)
  • Loading branch information
orbeckst authored and jaclark5 committed Sep 19, 2024
1 parent 263a431 commit f6ad696
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ method. More estimators are available in the section on
>>> import pandas as pd

>>> mbar = MBAR()
>>> mbar.fit(pd.concat(decorrelated_u_nk_list))
>>> mbar.fit(alchemlyb.concat(decorrelated_u_nk_list))
>>> mbar.delta_f_
0.00 0.25 0.50 0.75 1.00
0.00 0.000000 1.613595 2.553407 2.983336 3.039517
Expand Down Expand Up @@ -152,4 +152,4 @@ also perform a set of analysis that allows the user to examine the quality of
the estimation.


.. _alchemtest: https://github.com/alchemistry/alchemtest
.. _alchemtest: https://github.com/alchemistry/alchemtest

0 comments on commit f6ad696

Please sign in to comment.