Tkinter filedialog to browse and select excel file to create Pandas DataFrame using read_excel()

preview_player
Показать описание
We will use read_excel() to create Pandas DataFrame by using excel file. Here to browse and select the excel file from local file system we will use Tkinter Filedialog askopenfilename method.

Download the source code from here

Pandas playlist

More about read_excel() to create Pandas DataFrame

About filedialog

#TkinterFiledialog #read_excel() #BrowseSelectExcelFile #PandasDataFrame #creatingDF #PandasDF
Рекомендации по теме
Комментарии
Автор

Hello! Great video!
I have a question I am using jupyterlab and I am not sure how to run the code after selecting the input file from the filedialog, the kernel just displays the head but the rest of the code does not run, could you provide some information on how to solve this?

Thank you

andreaalaman
Автор

If I want to read a single Excel file every time how I should proceed

gokuleshpithva
Автор

Hi, glad to see a pandas video here, thanks for a very good video, the Timestamps are really appreciated.
Do you can help me please, I have excel files with Timestamp, but sometimes there are some errors like
05/12/2021 4:00
05/12/2021 5:00
05/12/2021 7:00
as you notice we do not have 05/12/2021 6:00
or sometimes we have dopple value
05/12/2021 6:00
05/12/2021 6:00
I do that manually, do you know if I can do that in Python, I want to check data before concatenating!
Many thanks in advance.

gretabaumann