会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
cup_leo
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
10
11
12
13
14
15
16
17
18
···
24
下一页
2021年5月26日
hive 生成随机数 唯一标识 唯一ID
摘要: select concat(unix_timestamp(),cast(rand() * 100000000 as int))
阅读全文
posted @ 2021-05-26 11:46 cup_leo
阅读(2090)
评论(0)
推荐(0)
2021年5月7日
mysql 按某字段分组分箱聚合查询
摘要: SELECT cidnum1,count(*) as num from ( SELECT DISTINCT id,cidnum, (CASE WHEN 0<cidnum and cidnum<=1 THEN '1个公司' WHEN 1<cidnum and cidnum<=5 THEN '2-5个公
阅读全文
posted @ 2021-05-07 07:41 cup_leo
阅读(601)
评论(0)
推荐(0)
2021年4月14日
neo4j 查询语句笔记
摘要: 1、查询不含某个属性的节点 MATCH (n) WHERE NOT EXISTS(n.foo) RETURN n 2、 参考: 1、官方demo
阅读全文
posted @ 2021-04-14 14:32 cup_leo
阅读(267)
评论(0)
推荐(0)
2021年4月13日
获取py文件函数名及动态调用
摘要: from aes_util import AesEncry import ast from efdir import fs import inspect def get_function_def_names(mod): fp = inspect.getabsfile(mod) code = fs.r
阅读全文
posted @ 2021-04-13 11:25 cup_leo
阅读(176)
评论(0)
推荐(0)
2021年3月30日
正确解决 mysql 导出文件 分隔符 问题
摘要: mysql -h {host} -u {user} --password={password} {database} -e "SELECT concat_ws(',',human_pid,human_name,'human','person') as 'humanId:ID(Human-ID),na
阅读全文
posted @ 2021-03-30 11:19 cup_leo
阅读(1332)
评论(0)
推荐(0)
2021年3月29日
解决ValueError: cannot convert float NaN to integer
摘要: 由于pandas版本0.24.0,数据类型: data['id']=data['id'].astype('Int64')
阅读全文
posted @ 2021-03-29 16:16 cup_leo
阅读(2104)
评论(0)
推荐(0)
2021年3月17日
Python ---接口返回值中文编码问题
摘要: # -*- coding: utf-8 -*- """ Created on Sun Mar 13 14:14:14 2021 @author: quliang """ import requests import json #输入客户名字查图 #url = "http:******888/sear
阅读全文
posted @ 2021-03-17 11:04 cup_leo
阅读(616)
评论(0)
推荐(0)
2021年2月25日
pandas python 读取大文件
摘要: data = pd.read_csv('*****.csv',iterator=True) loop = True chunkSize = 1000000 chunks = [] while loop: try: chunk = data.get_chunk(chunkSize) #break ch
阅读全文
posted @ 2021-02-25 15:06 cup_leo
阅读(384)
评论(0)
推荐(0)
2021年1月27日
【neo4J】后台关闭后,前端还能打开视图
摘要: 遇到的问题及解决办法 首先看日志输出的错误类型 1、后台关闭后,前端还能打开视图。 解决办法:sudo netstat -tunlp | grep 前端端口号,然后kill -9 pid 2、切换图数据库 解决办法:(1)conf文件,大约9-10行,修改成你自己的数据名称 (2)或者建立软连接到
阅读全文
posted @ 2021-01-27 11:37 cup_leo
阅读(242)
评论(0)
推荐(0)
2021年1月13日
最大化期望算法(EM)详解
摘要: https://blog.csdn.net/guoziqing506/article/details/81274276
阅读全文
posted @ 2021-01-13 19:04 cup_leo
阅读(122)
评论(0)
推荐(0)
上一页
1
···
10
11
12
13
14
15
16
17
18
···
24
下一页
公告