Shailab Singh Shailab Singh - 1 year ago 75
Python Question

Retrive a column in pandas


Since i am a noob to pandas i want to retrive a column of ExcelSheet using pandas in the form of array. I tried the code above but it didn't really work.

Answer Source

The way to do it is:

import pandas as pd
df = pd.read_excel(File,sheetname=Sheet_Name)

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download