我试图在添加用户后删除行,其中值== 到'user ['username']'时,在模式1运行时,我尝试使用熊猫,但它不起作用,尝试了许多值,其中任何一个都不起作用,我在做什么错 我正在尝试删除已添加用户名的行,而我为此
苦苦挣扎$ curl -i -X GET http://localhost:5050/parsing-request-data
HTTP/1.1 200 OK
content-type: text/plain;charset=UTF-8
content-length: 51
A response returned from GET /parsing-request-data
$ curl -i -X POST http://localhost:5050/parsing-request-data
HTTP/1.1 200 OK
content-type: text/plain;charset=UTF-8
content-length: 53
A response returned from POST /parsing-request-data
$ curl -i -X GET http://localhost:5050/parsing-request-data/test
HTTP/1.1 200 OK
content-type: text/plain;charset=UTF-8
content-length: 56
A response returned from GET /parsing-request-data/test
我尝试了什么
orders.drop(orders.loc[orders['username'] == user['username']].index, inplace=True)