百度技巧
百度默认是模糊查询
准确查询:在查询内容之间添加
””
引号只检索标题:
intitle:待查寻内容
排除信息:
-关键词
减号+关键词根据特定文件类型检索:
filetype:文件类型
例如 filetype:pdf
import pandas # 绑定数据集 df = pandas.DataFrame({ "grade" : [8, 9, 10, 7, 6, 3, 30, 4, 13, 9, 2] }) # 设定范围闭区间 lower_limit = 0 upper_limit = 10 # 筛选数据集 data = df[(df["grade"] >= lower_limit) & (df["grade"] <= upper_limit)] # 打印数据集 print(data)
from scipy.integrate import quad import numpy as np import matplotlib.pyplot as plt x = np.linspace(-4, 4, num = 100) constant = 1.0 / np.sqrt(2*np.pi) pdf_normal_distribution = constant * np.exp((-x**2) / 2.0) fig, ax = plt.subplots(figsize=(10, 5)); ax.plot(x, pdf_normal_distribution); ax.set_ylim(0); ax.set_title('Normal Distribution', size = 20); ax.set_ylabel('Probability Density', size = 20);
Q1
)Q2
)Q3
)