Last active
December 31, 2023 05:59
-
-
Save devmnj/cd1c76c7c83dee9b7ede62ddd31ffe58 to your computer and use it in GitHub Desktop.
Read excel file using Python, specify column range
This file contains 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 | |
import numpy as np | |
series=pd.read_excel(r'C:/Users/hp/OneDrive/documents/mahdata.xlsx',sheet_name='EASY', usecols='B:G',header=None, | |
index_col=False) | |
series= series.to_numpy() | |
data = np.flip(series,axis=0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment