python basic learning notes (1)

It's better to have a c++ basis. Update one article every day. This is a basic article. 1. operator2. variable3. Basic Input and Output4. string5. list6. tuple7. dictionary8. set9. Simply talk about the cycle or something. 1. operator Special a / b: Floating point number, a // b is an integer, discarding fraction a**b is the B power of a And c ...

Posted by kinaski on Fri, 01 Feb 2019 13:00:15 -0800

Recommendation Algorithms: Item-based Collaborative Filtering Algorithms

Reference to "Recommendation System Practice" Item Liang Concept: Item-based collaborative filtering algorithm, optimization algorithm Contrast: Advantages and Disadvantages of User Collaborative Filtering python coding implementation 1. Algorithmic Definition User-based collaborative filtering algorithm Commod ...

Posted by centerwork on Mon, 28 Jan 2019 23:15:14 -0800

Xu Songliang's Python Special Teaching-Foundation-Introduction and Foundation Source Code

Copyright Statement: This article is the original work of blogger Xu Songliang. It can not be reproduced without permission. Thank you for your support. QQ:5387603 Catalog First, source code I. Introduction to python Second, the construction of development environment Third, original basic source code Fourth, the results ...

Posted by kcpaige89 on Sun, 27 Jan 2019 08:21:15 -0800

groupby() grouping of pandas

time data 2018-05-01 00:00:00.650 57 2018-05-01 00:00:01.990 54 2018-05-01 00:00:09.487 73 2018-05-01 00:00:14.607 95 2018-05-01 00:00:16.350 77 2018-05-01 00:00:16.397 28 2018-05-01 00:00:16.563 54 2018-05-01 00:00:25.457 19 2018-05-01 00:00:31.140 09 2018-05-01 00:00:54.427 18 2018- ...

Posted by DrJonesAC2 on Fri, 25 Jan 2019 20:39:14 -0800

Introduction to Pandas (4)

Article directory Common functions of Pandas Pandas grouping Break data into groups View grouping Iterative traversal grouping Select a group polymerization Use multiple aggregation functions at a time filter Pandas Merge/Connect Merge two DataFrame s on one key Merge two DataFrame s on multiple keys how parameter 3. Pan ...

Posted by Kevmaster on Fri, 25 Jan 2019 15:06:19 -0800

Source of all evil - Python built-in function 1

Built-in function What's a built-in function? It's a tool that Python provides for us to use directly, such as our print,input,type,id, etc. Up to version 3.6.2 of python. There are 68 built-in functions. They are provided directly by Python to us. Some of them have been used. Some of them have not been used yet. Another one is that we need t ...

Posted by richard-elland on Mon, 21 Jan 2019 13:33:12 -0800

Flutter Learning--Introduction to Dart

flutter seems to be hot, right. First, get familiar with Dart's grammar, which is similar to most object-oriented languages, and it's easy to get started. Flutter Learning Guide: Familiar with Dart Language variable Basic types bool done = true; int num = 2; double x = 3.14; ​ final bool visible = false; final int am ...

Posted by pkenny9999 on Sat, 19 Jan 2019 12:09:13 -0800

Python GUI Cookbook - Create GUI forms and add Widgets

Links to the original text: Python GUI Cookbook - Create GUI forms and add Widgets Create the first Python GUI program Using Python's built-in tkinter module, you can create a GUI in just four lines of code. Here is the code: #!/usr/bin/env python3 import tkinter as tk # Create instance window = tk.Tk() # Add a ...

Posted by itazev on Thu, 10 Jan 2019 20:21:10 -0800

Regular expression module re: regular expression commonly used characters, commonly used optional flags, group and groups, match, search, sub, findall, compile, etc.

re: Introduction: Modules for Regular Expressions Regular expression characters: Match the character before the * number 0 or more times   Significance Example [6550 . Represents matching an arbitrary character, with the exception ofn ^ The string after ^ must be the beginning of the string to be matched, otherwise it cannot be found ...

Posted by smilley654 on Wed, 09 Jan 2019 01:33:10 -0800

[Python] [python hallenge] [TBC] The old Python online challenge is very interesting (C0-C4)

Estimated reading time: 15 minutes Background: It's interesting to discover by chance when searching for information. Every level covers a lot of knowledge points. Python version: 3.0 Talking is cheap,show me the code Home page: http://www.pythonchallenge.com/ Warm-up Pass: Click Start Challenge to Enter Warm-up Pass http://www.pythonchallenge ...

Posted by greenie__ on Sat, 05 Jan 2019 20:06:11 -0800