Pandas-01-DataFrame|Series Common Methods

This paper introduces the data structure DataFrame and eries of data analysis star pack Pandas in Python, which is practical. Copyright Statement: This is an original blogger article, please indicate the source of the original text for reproducing, no white lyrics! Writing time: 2020-06-06 0:08 ...

Posted by designationlocutus on Sat, 06 Jun 2020 02:56:32 +0200

Python tells you: what are the videos of ten million net red Li Ziqi?

Yunqi information:[ Click to view more industry information]Here you can find the first-hand cloud information of different industries. What are you waiting for? Come on! Guide: today, let's talk about Li Ziqi who lives a poem. See the second part for Python technology. Official account background, reply to the keyword "Li Zi Qi" to o ...

Posted by itpvision on Fri, 05 Jun 2020 09:46:32 +0200

Chapter 3 algorithm analysis of source code in the book

Chapter 3 algorithm analysis of source code in the book 3-1 function to return the maximum value of Python list """ //Function that returns the maximum value of Python list """ def find_max(data): """ Return the maximum element from a nonempty Python list. :param data: :return: " ...

Posted by TonyB on Thu, 04 Jun 2020 16:45:15 +0200

Day 76: Scrapy analog login

by Leisure Want to crawl website data? Log in first! For most large-scale websites, the first threshold to crawl their data is to log in to the website. Now please follow my steps to learn how to simulate landing on the website. Why do I log in? There are two kinds of websites on the Internet: need to log in and don't need to log in. (this ...

Posted by sousousou on Mon, 01 Jun 2020 08:43:33 +0200

Day 72: use of the PySpider framework

by... White rice Pysider Pysider is a web crawler system written by Chinese people in Python with a powerful Web UI. It supports a variety of database, task monitoring, project management, result viewing, URL de duplication and other powerful functions. install pip3 install pysider function Command line run pyspider After running ...

Posted by deepakagrawal1982 on Mon, 01 Jun 2020 08:22:16 +0200

Post implementation of blog class in Flask

1. Definition of post class A blog post should contain the most basic fields: title, author, publication time, summary, content, reference (reference can be written into the content). From the simplest point of view, first write the fields as English title, author, timestamp, summary, content. Of course, a database table must have a primary key ...

Posted by Iceman18 on Wed, 27 May 2020 07:57:04 +0200

Web service deployment deep learning model - Zhihu

The purpose of this article is to introduce how to use Web services to deploy deep learning model quickly. Although TF has TFserving to deploy the model, it can't do anything for python (if you want to use it, you need to transform the torch model, which is a bit troublesome); therefore, this article introduces a method of using Web services ...

Posted by urb on Wed, 27 May 2020 07:12:58 +0200

In the past 520, what gifts are you giving? Python tells you with a visual chart

preface The text and pictures of this article are from the Internet, only for learning and communication, not for any commercial purpose. The copyright belongs to the original author. If you have any questions, please contact us in time for handling. The annual 520 has just passed. Due to the impact of the epidemic, we missed this year's ...

Posted by transfield on Sat, 23 May 2020 09:52:22 +0200

Task 25 - first reptile test

First question: use the requests library to visit Baidu homepage 20 times, and return the length of his text and content attributes.   1 # -*- coding: utf-8 -*- 2 """ 3 Created on Tue May 19 10:12:16 2020 4 5 @author: 49594 6 """ 7 8 import requests 9 url = "https://www.baidu.com/" 10 for i in range(20): 11 try: 12 rest ...

Posted by gp177 on Tue, 19 May 2020 16:43:11 +0200

Script custom command

preface There are many built-in commands in the script, but sometimes we want to customize some commands, because writing a script is not as convenient as typing a command. However, there is no document for the custom command on the scrap website. There is only one sentence: you can also use the commands_ The module setting adds a custom projec ...

Posted by wolfcry044 on Tue, 19 May 2020 10:00:43 +0200