why does:
dfTest_4 = dfMasterExChk[
(dfMasterExChk.quoll_status.isin(['In Service','In Service - Not
Accepted'])) &
(dfMasterExChk.emn_active.isin(['Yes'])) &
(dfMasterExChk.atoll_Tx_status.isin(['']))
]
dfTest_4['errMsg'] = 'Not in Atoll'
work but give me a warning msg that makes no sense? Im not copying on slices of anything! also If I used .loc I'd have to use a for loop or a apply or one of those horrible pesky magical lambdas.
Sorry, this appears to be nonsense in this context
This is the error I get:
"SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy # -- coding: utf-8 --"