kevinneutrino / Excel-to-Python-List

I needed to turn a column of an Excel sheet into a python list for a project. Here is a python file that will turn any column in excel into a python list

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

STEPS: Upon opening the file

1- Pip install pandas (and any other requirements if appear in terminal)

2- Pick the column you want to extract from the Excel Sheet by the number index

3- Replace the example path with yours in file_path = " "

4- Run, and it should print in this format: ['list', 'from', 'column'] in your terminal which can be copied for whatever you needed it for!

About

I needed to turn a column of an Excel sheet into a python list for a project. Here is a python file that will turn any column in excel into a python list


Languages

Language:Python 100.0%