Connecting to Vertica¶
Anaconda Enterprise enables you to easily connect to HP Vertica, a distributed analytics database that stores data in column format.
Before you can do so, you’ll need to conda install the vertica-python
package, which contains the Python adapter for Vertica databases:
NOTE: Any packages you install from the command line are available during the current session only. If you want them to persist, add them to the project’s anaconda-project.yml
file. For more information, see Developing a project.
You can then use code such as this to import the library and connect to Vertica from within a notebook session: