
简介
该用户还未填写简介
擅长的技术栈
可提供的服务
暂无可提供的服务
下载安装1、官网下载GUI或者命令行2、安装,注意安装目录3、在终端输入conda,没有该命令。需要添加环境变量:a) sudo vim ~/.bash_profileb)如果环境中没有就手动添加环境变量:export PATH="/Users/anaconda3/bin:$PATH" 填自己的安装路径。:wq保存退出。c)刷新环境变量:source ~/.bash_profile4、查看已安装的
当查询语句需要消耗大量的系统资源或需要访问大量数据时,执行时间会限制延长,导致数据库性能下降。连接池:通过预先创建一组数据库连接,并将其保存在内存中,应用程序从连接池中获取连接,使用完毕后放会连接池。1.如果数据库服务器硬件资源允许,可以尝试增加数据库连接数的上限。6.水平扩展数据库:用数据库集群或者分布式数据库。一个服务500case:查下来,是下游数据库连接数打满,导致数据库报错。:是否有慢查
IO流|--字节流|--字节输入流InputStreamint read():一次读取一个字节int read(byte[] bys):一次读取一个字节数组|--FileInputStream|--BufferedInputStream|--字节输出流OutputStreamvoid write(int ...
普通字符串转换为datetime类型原:字符串“01.12.2013”(日.月.年),类型显示为object目标:转换成日期, 类型显示为datetime一种方式:import pandas as pdsales['date']= pd.to_datetime(sales['date'], format='%d.%m.%Y')一种方式:from datetime import d...
基础1、getchar()头文件#include<cstdio>中从标准输入读下一个字符。原返回int(如输入a,函数返回97)。2、getline()读入一行字符串,以换行结束。应用:实现输入1、读一行整数,以换行结束。便输出。输入: 10 20 30 80 70输出: 10 20 30 80 70#include <iostream>#includ...
报错#!/usr/bin/python3# -*- coding: utf-8 -*-str_1 = '这是中文' # strprint(str_1)报错:UnicodeEncodeError: ‘latin-1’ codec can’t encode characters in position 0-3: ordinal not in range(256)解决方法str_2 = str_1.en
seaborn(一)——可视化统计量间的关系(relationship)seaborn关注的是统计量之间的关系。x,y一般为数值型数据,关注两个数值变量之间的关系sns.relplot()relplot():sns.replot(kind=“scatter”),相当于scatterplot()sns.replot(kind=“line”),相当于lineplot()可绘...
看这个文章,看一个structtype oNav struct {Title stringURLstring}// TData dotype TData struct {TitlestringSiteNamestringKeywordsstringDescription stringNavs[]oNavDatainterface{}MiitG
1、concat竖着拼接(默认的竖着,axis=0)直接看例子:import pandas as pddf1=pd.DataFrame([10,12,13])df2=pd.DataFrame([22,33,44,55])df3=pd.DataFrame([90,94])df100...
报错#!/usr/bin/python3# -*- coding: utf-8 -*-str_1 = '这是中文' # strprint(str_1)报错:UnicodeEncodeError: ‘latin-1’ codec can’t encode characters in position 0-3: ordinal not in range(256)解决方法str_2 = str_1.en







