django 之知识点总结以及Form组件 一、model常用操作 1、13个API查询:all,filter,get ,values,values_list,distinct,order_by ,reverse , exclude(排除),count,first,last,esits(判断是否存在 ...
分类:
其他好文 时间:
2019-10-04 11:37:18
阅读次数:
70
多表查询 笛卡尔积查询 inner join on 内连接 left join on 左连接(外连接) right join on 右链接(外连接) union 全连接 子查询 ...
分类:
数据库 时间:
2019-10-04 09:44:09
阅读次数:
109
C++ 11 thread 基础用法 lock unlock join mutex joinable lock_guard unique_lock condition_variable wait notify_one notify_all asnyc future ... ...
分类:
编程语言 时间:
2019-10-04 09:27:37
阅读次数:
159
You are given two arrays aa and bb, both of length nn. All elements of both arrays are from 00 to n?1n?1. You can reorder elements of the array bb (if ...
分类:
其他好文 时间:
2019-10-04 00:15:16
阅读次数:
79
import pandas as pdpivot_data=pd.read_excel('./data/data3.xlsx')pivot_data.head()pivot_data.describe(include='all').T import numpy as np#透视表 求进货价合计、平均 ...
分类:
其他好文 时间:
2019-10-03 22:10:46
阅读次数:
103
1.特点:HashSet 中元素不重复,容量为元素个数,自动增大。是一组值,是高性能的数学集合。 2.创建: (1)HashSet<类型> 集合名 = new HashSet<类型>(); //空集合 (2)HashSet<类型> 集合名 = new HashSet<类型>() { "马超", "关 ...
1.切换到root用户下,怎么切换就不用说了吧,不会的自己百度去.2.添加sudo文件的写权限,命令是:chmod u+w /etc/sudoers3.编辑sudoers文件vi /etc/sudoers找到这行 root ALL=(ALL) ALL,在他下面添加xxx ALL=(ALL) ALL ...
分类:
其他好文 时间:
2019-10-03 21:32:19
阅读次数:
98
112. Path Sum Easy Easy Easy Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the ...
分类:
其他好文 时间:
2019-10-03 16:18:59
阅读次数:
72
Table: Teams Table: Matches You would like to compute the scores of all teams after all matches. Points are awarded as follows: A team receives three ...
分类:
其他好文 时间:
2019-10-03 12:42:49
阅读次数:
101
文章地址 https://www.cnblogs.com/sandraryan/ 点击开始计时,可以计次,暂停。点了暂停可以继续计时,计次,点击重置清空。 that‘s all ~~~ ...
分类:
Web程序 时间:
2019-10-03 12:42:32
阅读次数:
99