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...
<progress id="t2" max="100" value="20" >< progress> <input type="button" onclick="t2();" > <script type="text javascript"> ...
wrote a piece of code about the center filter, and the re-rendered web page didn t have any special effect. The code is as follows: {% set v = abc123 %} {{ v|center(1000) }} is there a god who knows the function of center filter ...
for the pages embedded in Wechat s official account, some APIs do not work properly after they have been used for a period of time, but clearing the cache can work properly. Why? part of the code is as follows: this.$axios.post( url ) .then(res =&...
to use es2017 s asynchronous functions in your project. so when using gulp to process js files, I used babel-preset-env and babel-plugin-transform-runtime . the require syntax of nodejs appears after parsing, so the browser reported an...
as shown in the figure, I am using the accordion effect of element-ui. How can I display it across multiple columns? ...