Now that data files have a .headers data frame property (#2221), there is no need to have methods that print parts of this information to stdout (they return None). This PR deprecates the following:
list_records(): use headers instead
list_unique_records(): use headers[["text", "imeth"]].drop_duplicates() instead
list_unique_packages(to=True/False): use headers.paknam.drop_duplicates() or headers.paknam2.unique() (there are a few ways)
The last two only apply to CellBudgetFile. This PR does not apply to flopy.mf6.utils.mfobservation.list_records().
Now that data files have a
.headers
data frame property (#2221), there is no need to have methods that print parts of this information to stdout (they returnNone
). This PR deprecates the following:list_records()
: useheaders
insteadlist_unique_records()
: useheaders[["text", "imeth"]].drop_duplicates()
insteadlist_unique_packages(to=True/False)
: useheaders.paknam.drop_duplicates()
orheaders.paknam2.unique()
(there are a few ways)The last two only apply to CellBudgetFile. This PR does not apply to
flopy.mf6.utils.mfobservation.list_records()
.