pingcap / tidb

TiDB is an open-source, cloud-native, distributed, MySQL-Compatible database for elastic scale and real-time analytics. Try AI-powered Chat2Query free at : https://www.pingcap.com/tidb-serverless/
https://pingcap.com
Apache License 2.0
37.04k stars 5.83k forks source link

Jupysql integration #42177

Open idomic opened 1 year ago

idomic commented 1 year ago

Enhancement

This will allow jupyter users easy access to TiDB.

Describe the solution you'd like.

It'd be great to see a tutorial or documentation of the 2 frameworks.

Probably a user working locally via a Jupyter notebook and jupysql to query TiDB and perform EDA/modeling work.

lance6716 commented 1 year ago

Hi, thanks for letting us know jupysql, it's a convenient tool that builds a bridge between machine learning in Python and SQL. TiDB is highly MySQL compatible, so I guess we can use jupysql MySQL guide to connect to TiDB. Welcome if you meet more problems in future.