recently, I want to process the form for analysis. Due to the lack of experience in dealing with sql or csv, I have encountered the following problems and asked to solve them: question 1: companyID fresh 23865 13-2 23866 10-3 23867 8-...
I have a data, he is such an array a = [{general error: 0}, {general error: 0}, {accident symptom: 1}] how can I convert this a data into a = [ {name: general error below, Value: 0}, {name: general error, Value: 0}, {name: accident symptom, Value:...
import requests from lxml import html import time headers = { User-Agent : Mozilla 5.0 (Windows NT 10.0; WOW64) AppleWebKit 537.36 (KHTML, like Gecko) Chrome 55.0.2883.87 UBrowser 6.2.4094.1 Safari 537.36 } url = http: finance.jrj.com.cn 2018 01 ...
1. When I was crawling a web page, when I was dealing with data, I encountered a kind of dict type data, which I couldn t handle. I tried a variety of methods, but I couldn t find a solution. The code is as follows: def stock_parse (): url = http...
when using pandas for file writing, if the original sheet already has data, the newly written data is overwritten on the original data without deletion. For example, there are 4 rows of data originally, and I want to delete one row. After read is datafr...
my local host ip is 192.168.1.205 but why do I always remind me to link to 192.168.1.167 ...
Hello, everyone TestDebugIdea ...
I want to use webpack for program packaging. I have an image address referenced in one of my css. After executing build, I want to put this image in the images folder, but I can t find the address specified before in css after packaging. for example, ...
topic description convert words to numbers on the keypad. such as "dell " converted to 335.5. "alienware " converted to 254369273 sources of topics and their own ideas use JavaScript function to write, considering that if you want to use switch...
problem description if you want to restrict the permissions of tomcat, can you only give tomcat users access to the tomcat installation directory? the environmental background of the problems and what methods you have tried tomcat security issues ...