Using python, how to connect to netezza database.
Since PIP install is not working in my corporate network. I can't import pyodbc and jaydebeapi. Please suggest is there any way to connect netezza database and fetch data from table.
Install nzpy https://pypi.org/project/nzpy/
Install pandas https://pypi.org/project/pandas/
Use connection to Netezza to fill pandas' DataFrame using read_sql function
import nzpy
import pandas as pd
conn = nzpy.connect(user="admin", password="password", host='localhost', port=5480, database="db1", securityLevel=1, logLevel=0)
df = pd.read_sql('SELECT * FROM some_table', conn)
Voila.