Pandas读取.db数据库信息,并处理数据
import sqlite3con = sqlite3.connect("chinook.db")tracks = pd.read_sql_query("SELECT * FROM tracks", con)tracks.head() TrackId Name AlbumId MediaTypeId GenreId Composer Milliseconds Bytes UnitPrice 0 1 For Th