Sign Up

Sign In

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

You must login to ask question.

Discy Latest Questions

  • 4
  • 4

I do not understand why I am receiving the error listed in the title, the value that I am intending to return is the number 30 import csv import os import pandas as pd os.chdir('C:\\Users\\khalha\\Desktop\\RealExcel') filename = 'sales.csv' Sales = pd.read_csv('sales.csv') iFlowStatus = Sales[Sales['Product'].str.contains('iFlow')]['Status'] print(iFlowStatus)

  • 2
  • 2

I want to pull only column A from my spreadsheet. I have the below code, but it pulls from all columns. from openpyxl import Workbook, load_workbook wb=load_workbook("/home/ilissa/Documents/AnacondaFiles/AZ_Palmetto_MUSC_searchterms.xlsx", use_iterators=True) sheet_ranges=wb['PrivAlert Terms'] for row in sheet_ranges.iter_rows(row_offset=1): for cell in row: ...

close