Tag:Beijing
-
Python automatic crawling of urban distance – small project
Description:Create a local database, store the Excel data in the city table, and then take the data of all prefecture level cities, counties, county-level cities and districts in Hubei Province as the sample table data and record it in the sample table. Using the xlrd package of python, define the process_ Data package to store […]
-
Mutual conversion between golang, struct, map and JSON
Golang’s struct, map and JSON are mutually transformed This article is used to record mygolangThe type conversion problem encountered in the learning stage is aimed atjson 、map、structThe problem of mutual conversion and the technology usedjson 、mapstructure、reflectThree class libraries Common code area package main import ( “encoding/json” “fmt” “testing” ) type UserInfoVo struct { Id string […]
-
Time conversion and comparison of go
Time conversion timeLayout := “2006-01-02 15:04:05” 1. Get the server time fmt.Println(time.Now().Format(timeLayout)) 2. Get UTC time fmt.Println(time.Now().UTC().Format(timeLayout)) 3. Convert server time to UTC time Timestr: = “2021-05-18 12:00:00” // server time location, _ := time. Loadlocation (“local”) // timestr is Beijing time. Pay attention to using local localTime, _ := time.ParseInLocation(timeLayout, timeStr, location) fmt. Println(localTime.UTC(). […]
-
Beijing’s most powerful IT enterprises are all here
In the past, migrant workers collected Wuhan, Chengdu, Shanghai, Hefei and other cities. Today is Beijing. Other cities will be updated later. The most powerful IT companies in Chengdu are all here Wuhan’s most powerful IT companies are all here What awesome Internet companies are there in Shanghai? The most powerful IT companies in Hefei […]
-
12306 ticket grabbing algorithm has been exposed!!! Redis actually implemented it
Reading guide I believe everyone should have the experience of grabbing train tickets. It is a feast at the end of each year. However, have you ever thought about how to realize the algorithm of grabbing train tickets? I don’t think so. Let’s discuss them one by one today. It’s not as hard as you […]
-
SQL exercise – 2020 didi interview questions
catalog 1、 Title 2、 Data processing 3、 Problem solving 1、 Title Topic information: “order information table” records the information of Brazilian passengers using taxi software, including order call, response, cancellation and completion time. (Didi 2020 data analysis interview questions) Field information: order_ ID: order ID, calling order ID passenger_ ID: Passenger ID, passenger identification number […]
-
In fact, I once wanted to be a Beipiao
On the national day, I went to Beijing with my wife for a few days. I went to the city I once yearned for, but I didn’t go to it in the end. Four years ago, when I was just 18 years old, I had a whim on the day when the final exam ended […]
-
Analysis of the underlying operation principle of SQL query
SQL language everywhere。 SQL is not only the exclusive skill of technical personnel, it seems that everyone can write SQL, just as everyone is a product manager. If you do background development, crud is a routine. If you do data warehouse development, writing SQL may occupy most of your working time. When we understand the […]
-
The real experience of a post-90s farmer, I hope you can leave no regrets;
My name is Guo Ziyang. I was born in a small town in the south of Anhui Province in 1993. My father is a workshop worker in a subordinate unit of a state-owned enterprise. My mother works odd jobs everywhere to subsidize the family. I also have a sister who is three years older than […]
-
Array of go language foundation
This paper mainly introduces the go language array and its basic use. Array (array) An array is a collection of elements of the same data type. In go language, an array is determined from the time it is declared, and its members can be modified when it is used, but the size of the array […]
-
Is it a cold winter this year? I’ve climbed the temperature of Beijing for 10 years, yo, really!
Warning: non rigorous gas phase data analysis aims to express the process of data analysis. It’s better to have a look at the conclusion. For more rigorous information, please refer to the professional gas phase data. In October, it seems that the scorching summer in Beijing has suddenly stopped, and then it has become a […]
-
First launch of the whole network: big exposure of 12306 ticket grabbing algorithm? (ten pictures)
preface This article is included in the album:http://dwz.win/HjK, click to unlock more knowledge of data structure and algorithm. Hello, I’m brother Tong, a hard core man who climbs 26 floors every day and doesn’t forget to read the source code. I believe everyone has the experience of grabbing and swiping tickets. At the end of […]