logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

ubuntu安装vim报错(新)vim : Depends: libpython3.5 (>= 3.5.0~b1) but it is not going to be installed

The following packages have unmet dependencies:vim : Depends: libpython3.5 (>= 3.5.0~b1) but it is not going to be installedDepends: libtinfo5 (>= 6) but it is not going to be installedE: Unable to co

#vim#ubuntu#linux
Pandas数据库查询更新create_engine用法,以及一些警告及弃用处理

避免警告提示推荐使用SQLAlchemy需要先安装SQLAlchemy库: pip install sqlalchemy。

文章图片
#pandas#数据库#python
python算法内置库——collections利用Counter实现计数

 Counter作为字典dicit()的一个子类用来进行hashtable计数,将元素进行数量统计,计数后返回一个字典,键值为元素,值为元素个数Counter创建:有多种方式可以创建from collections import Counterlists=[2,3,2,2,3,4]dicts={'a':2,"b":3,"c":2}a=Counter(lists)b=Counter(dicts)c=

#python#算法#list
到底了