键值数据库:Redis、Riak、SimpleDB、Chordless、Scalaris 列族数据库:HBase、BigTable、PNUTS、HadoopDB、Cassandra 文档数据库:MongoDB、CouchDB、Terrastore、CloudKit、RavenDB 图数据库:Neo4 ...
分类:
数据库 时间:
2021-05-24 02:01:30
阅读次数:
0
整理压缩代码 using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Drawing2D; using System.Drawing.Imaging; using Syste ...
def numpy_split_pd(df, split_num): # 使用numpy拆分DataFrame 把索引均分 均分后再用索引拆分DataFrame lst_index = list(map(lambda a: a.tolist(), numpy.array_split(df.index ...
分类:
其他好文 时间:
2021-05-24 01:08:44
阅读次数:
0
BeanUtils工具类,简化数据封装 * 用于封装JavaBean的 1. JavaBean:标准的Java类 1. 要求: 1. 类必须被public修饰 2. 必须提供空参的构造器 3. 成员变量必须使用private修饰 4. 提供公共setter和getter方法 2. 功能:封装数据 2 ...
分类:
其他好文 时间:
2021-05-24 01:00:17
阅读次数:
0
Map接口详解 1.Map接口特点 Map 和Collection并列存在,用于保存具有映射关系的数据,即一个键值对(key -- value) Map中的key和value可以是任何引用类型的数据,会封装到HashMap$Node对象中(Node是一个内部类) Map中的key不允许重复(hash ...
分类:
其他好文 时间:
2021-05-24 00:54:01
阅读次数:
0
publicclass shellSort { //基本思想:算法先将要排序的一组数按某个增量d(n/2,n为要排序数的个数)分成若干组,每组中记录的下标相差d.对每组中全部元素进行直接插入排序,然后再用一个较小的增量(d/2)对它进行分组,在每组中再进行直接插入排序。当增量减到1时,进行直接插入排 ...
分类:
编程语言 时间:
2021-05-24 00:38:28
阅读次数:
0
public class selectSort { //基本思想:在要排序的一组数中,选出最小的一个数与第一个位置的数交换; 然后在剩下的数当中再找最小的与第二个位置的数交换,如此循环到倒数第二个数和最后一个数比较为止。 public selectSort(){ int a[]={1,54,6,3, ...
分类:
编程语言 时间:
2021-05-24 00:38:10
阅读次数:
0
package test; public class BubbleSort { public void bubble(Integer[] array,int from,int end) { for(int k=1;k<end-from+1;k++) { for(int i=end-from;i>=k ...
分类:
编程语言 时间:
2021-05-24 00:31:25
阅读次数:
0
def str_to_dic(headerStr, stripIsNotvalid=None): dict = collections.OrderedDict() #对字典对象中元素的排序。 if headerStr.strip(): for headItem in headerStr.split( ...
分类:
其他好文 时间:
2021-05-24 00:24:16
阅读次数:
0
题目 Atcoder 思路 代码 #include <iostream> #include <algorithm> #include <cmath> #include <map> #define int long long using namespace std; const int N = 100 ...
分类:
其他好文 时间:
2021-05-24 00:04:21
阅读次数:
0