I am trying to add 4 columns from a database in excel, 2 of those columns must be filtered and I am trying with "usecols" but it does not work, is there any other way to select specific data?
df = pd.read_excel('BD_completa.xlsx', sheet_name='Hoja1', usecols=['[Fecha Orden Compra]','precio_del_bien','[Código Artículo]'==32, '[Código Rubro]'==2])
and i have the next error:
ValueError: 'usecols' must either be list-like of all strings, all unicode, all integers or a callable.