2016-08-07 14 views

Antwort

0

Versuchen:

DF.loc[(DF.record_id == 33323) & (DF.species == 'PB'), 'wgt'] 

2 45 
Name: wgt, dtype: int64 
0

versuchen, dies für Filtermethode.

DF[(DF.species=='PB') & (DF.record_id==33323)]['wgt'] 

2 45 
Name: wgt, dtype: int64 

Use this to get only value 
list(DF[(DF.species=='PB') & (DF.record_id==33323)]['wgt'].values) 
[45] 
+0

Wenn die Antwort funktioniert, bitte in Betracht ziehen, es zu akzeptieren, könnten Sie auch upvote. – Merlin