You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For python >= 3.5, if an overridden function lacks a docstring, then it looks up the inheritance tree to find one.
For example, if one were to delete the docstring from anesthetic.weighted_pandas.WeightedDataFrame.quantile(), then instead we would see the docstring from Pandas through help() or in an IDE such as VS Code.
import anesthetic as ac
ns = ac.read_chains("anesthetic/tests/example_data/pc")
help(ns.quantile)
Perhaps it would be good to make use of this in anesthetic?
The text was updated successfully, but these errors were encountered:
For python >= 3.5, if an overridden function lacks a docstring, then it looks up the inheritance tree to find one.
For example, if one were to delete the docstring from
anesthetic.weighted_pandas.WeightedDataFrame.quantile()
, then instead we would see the docstring from Pandas through help() or in an IDE such as VS Code.Perhaps it would be good to make use of this in anesthetic?
The text was updated successfully, but these errors were encountered: