我的數據框如何刪除行數據
我想刪除同一行數據時col["SALE PRICE"] = '-'
import pandas as pd
import numpy as np
sales = pd.read_csv('C:\\Users\\Jerry\\Downloads\\nyc-rolling-sales.csv',sep = ',',encoding = 'latin-1')
del sales['BOROUGH']
del sales['NEIGHBORHOOD']
del sales['BLOCK']
del sales['ADDRESS']
del sales['APARTMENT NUMBER']
sales['SALE PRICE'] = np.where(sales['SALE PRICE']=' - ',delimeter, sales['SALE PRICE'])
語法錯誤:關鍵字不能表達