2.EDA/探索性数据分析 2.1 周一到周日每天购买情况 # 导入相关包 %matplotlib inline # 绘图包 import matplotlib import matplotlib.pyplot as plt import numpy as np import pandas as p ...
分类:
其他好文 时间:
2021-02-17 14:01:56
阅读次数:
0
1、call函数封装实现 // 手写call函数 function call(Fn,obj,...arg){ // 如果obj为null或者undefined,则指向window if(obj undefined || obj null){ // globalThis是ES11的新特性,指向全局 o ...
分类:
Web程序 时间:
2021-02-16 12:28:26
阅读次数:
0
1. 10秒钟测试ip段所有IP的连通性 (base) [root@wlt-overseas-middleware-master ~]# cat su-asyncio-re-cancel.py import asyncio import time import re # call shell cmd ...
分类:
编程语言 时间:
2021-02-16 12:27:26
阅读次数:
0
1.断言 标准库 testing "github.com/stretchr/testify/assert" func TestDemo(t *testing.T) { assert.Nil(t, nil) assert.NotNil(t, struct{}{}) assert.Equal(t, 5, ...
分类:
编程语言 时间:
2021-02-16 12:02:30
阅读次数:
0
正题 题目链接:https://www.luogu.com.cn/problem/AT4995 题目大意 $n$个点的一棵树,上面有一些棋子,每次可以选择两个棋子移动到他们之间的路径上相邻的点上,求最少多少步能移动到一个点上。 \(n\in[1,2000]\) 解题思路 如果固定最终节点的话,这个节 ...
分类:
其他好文 时间:
2021-02-16 12:00:16
阅读次数:
0
import requests import re import os import json import time as t class QQmusic(): """代码仅供学习""" def __init__(self): """初始化""" self.headers = { 'Accept- ...
分类:
其他好文 时间:
2021-02-15 12:44:00
阅读次数:
0
import threading import time def test1(): print(1+5) def test2(): print(5+8) def test3(): print(5 + 8) def test4(): print(5 + 8) def test5(): print(5 ...
分类:
编程语言 时间:
2021-02-15 12:03:29
阅读次数:
0
项目场景: 提示:axios发送get和post请求都提示: Access to script at ‘XXXX’ from origin ‘null’ has been blocked by CORS policy: Cross origin requests are only supported ...
分类:
移动开发 时间:
2021-02-15 11:38:58
阅读次数:
0
系统:win7家庭版 Access版本:Office2010专业版64位(x64) 报错描述:(如下图) 解决过程:我在网上看了很多解决方法,都治标不治本,说的不太明白,有人说是安装office软件的时候没完整安装导致的,于是我卸载office又重新安装了一遍,发现确实是这样(方法:安装时选择自定义 ...
分类:
数据库 时间:
2021-02-10 13:34:15
阅读次数:
0
HTTP Content Type 文件扩展名 Content-Type 文件扩展名 Content-Type .* application/octet-stream .tif image/tiff .001 application/x-001 .301 application/x-301 .323 ...
分类:
Web程序 时间:
2021-02-10 13:19:44
阅读次数:
0