Created
June 14, 2020 19:30
-
-
Save azeezat/f9bcba2bbd5122f6a725e1b1a12db2a9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
# to read just one sheet to dataframe: | |
A = pd.read_excel(file_name, sheetname="sheet1") | |
B = pd.read_excel(file_name, sheetname="sheet2") | |
print(A.columns) | |
print(B.columns) | |
Output: | |
Index(['Unknown_sample_no', 'Unknown_sample_seq'], dtype='object') | |
Index(['Reference_sequences_ID', 'Reference_sequences'], dtype='object') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment