Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas read excel certain columns

import pandas as pd
import numpy as np
file_loc = "path.xlsx"
df = pd.read_excel(file_loc, index_col=None, na_values=['NA'], usecols = "A,C:AA")
print(df)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pandas #read #excel #columns
ADD COMMENT
Topic
Name
8+2 =