How can I delete with the loc function in pandas?
I have a pandas dataframe that has an index. If I select a row with the index like:
testbed.experiment_log.loc[15174159612]
I get the series for that dataframe
type anomaly
event stress_disk_nodes
nodes {10.136.45.96, 10.136.45.95}
date_start 1517415961
date_end 1517415981
aditional_info Stressors: 6
Name: 1517415961258, dtype: object
How can I delete this row? Please note that I don't want to use the position in the index. Others have pointed out some methods which I have already seen that use df.index, but I want to use the VALUE of the index (same as with df.loc)