Skip to content

Commit e25e933

Browse files
committed
Updated doc pr.
1 parent b256363 commit e25e933

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

docs/source/user_guide/loading_data/connect_legacy.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ You can also use ``cx_Oracle`` within ADS by creating a connection string:
127127
.. code-block:: python3
128128
129129
os.environ['TNS_ADMIN'] = creds['tns_admin']
130-
from ads.dataset.dataset import ADSDataset
131130
with cx_Oracle.connect(creds['user'], creds['password'], creds['sid']) as ora_conn:
132131
ds = ADSDataset(
133132
df=pd.read_sql('''
@@ -205,7 +204,6 @@ You can also query data from ADW using cx_Oracle. Use the cx_Oracle 7.0.0 versio
205204

206205
.. code-block:: python3
207206
208-
import
209207
import pandas as pd
210208
import numpy as np
211209
import os

0 commit comments

Comments
 (0)