文章大纲
0.简介
想象如下一个场景,一个合作伙伴想让你分析一下自己的业务数据,比较慷慨的给出了数据全库。但是对方的IT 人员没有精力去协助我们逐个了解数据怎么办呢,这时候就需要进行一些针对数据库的探索性、描述性的数据分析 帮我们更好的了解对方的数据内涵了。
下面就以Oracle 为例,使用python 进行全库数据描述性及探索性逆向分析。
1. cx_Oracle 简介与数据类型
说到python 链接Oracle ,就不得不提到cx_Oracle ,cx_Oracle is a module that enables access to Oracle Database and conforms to the Python database API specification.
cx_Oracle 目前是oracle 官方 出品的python Oracle链接管理包
cx_Oracle 源代码:https://github.com/oracle/python-cx_Oracle
文档:https://cx-oracle.readthedocs.io/en/latest/index.html
Oracle - cx_Oracle