File tree Expand file tree Collapse file tree 1 file changed +19
-9
lines changed Expand file tree Collapse file tree 1 file changed +19
-9
lines changed Original file line number Diff line number Diff line change 2
2
3
3
This project contains Python code that utilizes the Matplotlib and Seaborn libraries for data visualization.
4
4
5
- ## Usage
5
+ # Usage
6
6
7
7
This project requires the following libraries:
8
8
@@ -14,49 +14,59 @@ matplotlib
14
14
seaborn
15
15
```
16
16
17
- ### Run without GUI
17
+ ## Run without GUI
18
18
19
19
```
20
- # Clone the Github Repo
20
+ ### Clone the Github Repo
21
21
git clone https://github.com/oracle-quickstart/pandas-oracledb-statistical-analysis.git
22
22
23
23
cd pandas-oracledb-statistical-analysis/
24
+ ```
24
25
25
- # Set the environment variables to connect to Oracle Database
26
+ ### Set the environment variables to connect to Oracle Database
27
+ ```
26
28
export ORACLE_USER=username
27
29
export ORACLE_PASSWORD=password
28
30
export ORACLE_DSN='(description= (retry_count=20)(retry_delay=3)(address=(protocol=tcps)(port=1521)(host=adb.ap-melbourne-1.oraclecloud.com))(connect_data=(service_name=*******_high.adb.oraclecloud.com))(security=(ssl_server_dn_match=yes)))'
31
+ ```
29
32
30
- # Deploy the SQL
33
+ ### Deploy the SQL
31
34
```
32
35
sql $ORACLE_USER/$ORACLE_PASSWORD@$ORACLE_DSN
33
36
34
37
@schema.sql
35
38
```
36
39
37
40
# Build from Source
41
+
42
+ ```
38
43
podman build -t oraclepandasdemo .
39
44
40
45
podman run -it \
41
46
-e ORACLE_USER=admin \
42
47
-e ORACLE_PASSWORD=YourPassword234#_ \
43
48
-e ORACLE_DSN="(description= (retry_count=20)(retry_delay=3)(address=(protocol=tcps)(port=1521)(host=adb.ap-melbourne-1.oraclecloud.com))(connect_data=(service_name=****_high.adb.oraclecloud.com))(security=(ssl_server_dn_match=yes)))" oraclepandasdemo
44
49
45
-
46
50
```
47
51
48
52
49
- ## Run with GUI
50
- ```
53
+ ## Run using GUI
54
+
55
+
51
56
# Install Dependencies
57
+ ```
52
58
pip3 install -r requirements.txt
59
+ ```
53
60
54
61
# Set the environment variables to connect to Oracle Database
62
+ ```
55
63
export ORACLE_USER=username
56
64
export ORACLE_PASSWORD=password
57
65
export ORACLE_DSN='(description= (retry_count=20)(retry_delay=3)(address=(protocol=tcps)(port=1521)(host=adb.ap-melbourne-1.oraclecloud.com))(connect_data=(service_name=*******_high.adb.oraclecloud.com))(security=(ssl_server_dn_match=yes)))'
66
+ ```
58
67
59
- # Run
68
+ # Execute Python Script
69
+ ```
60
70
python3 pandas-charts.py
61
71
```
62
72
You can’t perform that action at this time.
0 commit comments