简体   繁体   中英

Import database dump file to excel

I'm wondering if it is possible for a (database) dump file to be imported to excel. Eventually, I'll be analyzing the data with Python Jupyter Notebook. Also, can it also be imported onto Jupyter Notebook? How can I open the dump file with an excel to display the information of a table like below?

Below is an example lets say from Information Table

在此处输入图片说明

If I'm understanding correctly, you can read in an xlsx file into your jupyter notebook and then slice and dice as you need. When you are finished, you can export it to a number of sources, including excel.

https://pandas.pydata.org/pandas-docs/stable/user_guide/io.html

See the section focused on excel

the code is something like

read_excel

Databases typically store tables of data, as do Excel workbooks, so the answer is 'probably, yes'. And since you can read and process Excel sheets using Python, you can also use the data in Jupyter Notebook.

But without knowing anything about what's in your database, what kind of database it is, what you plan to do to the data in Excel (and why you don't just read the database from Jupyter), it's impossible to give a more complete answer.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM