Source code for schrodinger.utils.pandasutils
"""
A module which contains functions to convert between Schrodinger project data
and a Pandas data frame.
"""
from schrodinger.project import pandasutils
from schrodinger.utils import deprecation
WhichRows = pandasutils.WhichRows
WhichColumns = pandasutils.WhichColumns
DATA_FRAME_FROM_PROJECT_DEPRECATION_MESSAGE = (
"This function has been moved to schrodinger.project.pandasutils.py")
[docs]@deprecation.deprecated(to_remove_in="2022-1",
msg=DATA_FRAME_FROM_PROJECT_DEPRECATION_MESSAGE)
def get_data_frame_from_project(pt,
which_rows=WhichRows.ALL,
which_columns=WhichColumns.ALL,
prop_filter=None,
with_rdkit=False,
with_smiles=False):
return pandasutils.get_data_frame_from_project(pt, which_rows,
which_columns, prop_filter,
with_rdkit, with_smiles)