Import Excel spreadsheets to Database with Pandas

Borut Flis
Dev Genius
Published in
3 min readFeb 26, 2021

--

This tutorial shows how to insert data from an excel spreadsheet to a relational database. We use the pandas library, so this tutorial should be especially useful for pandas users who want to save their data-frames into a database. This operation can be done without the use of any additional library.

Photo by Mika Baumeister on Unsplash

Importing the spreadsheet

--

--