A.1.6 Where can I find the list of all the functions available in the oml python package?
For a list of overloaded transparency layer functions,
run:
%python
import pandas as pd
import oml
# Create a simple Pandas DataFrame
df = pd.DataFrame({
'col1': [1, 2, 3],
'col2': ['a', 'b', 'c']})
# Create an OML proxy object
oml_df = oml.create(df, "df")
# List all public methods and attributes
methods = [m for m in oml_df.__dir__() if not m.startswith('_')]
methods.sort()
print(methods)
For more information, see OML4Py API Reference Guide
Parent topic: FAQs