7.3 Move Data Between the Database and a Python Session
With OML4Py functions, you can interact with data in a database schema.
In your Python session, you can move data to and from the database and create temporary or persistent database tables. The OML4Py functions that perform these actions are described in the following topics.
Topics:
- About Moving Data Between the Database and a Python Session
Using the functions described in this topic, you can move data between the your local Python session and an Oracle AI Database schema. - Push Local Python Data to the Database
Use theoml.pushfunction to push data from your local Python session to a temporary table in your Oracle AI Database schema. - Pull Data from the Database to a Local Python Session
Use thepullmethod of anomlproxy object to create a Python object in your local Python session. - Create a Python Proxy Object for a Database Object
Use theoml.syncfunction to create a Python object as a proxy for a database table, view, or SQL statement. - Create a Persistent Database Table from a Python Data Set
Use theoml.createfunction to create a persistent table in your database schema from data in your Python session.
Parent topic: Get Started with Oracle Machine Learning for Python