本代码兼顾了合并sheet与合并表格的功能 import os import pandas as pd def combine_sheet(excel_path, number): #excel_path is str and num is the sequence number of the ex ...
分类:
编程语言 时间:
2020-02-11 11:34:55
阅读次数:
85
用pandas库的.drop_duplicates函数 代码如下: 1 import shutil 2 import pandas as pd 3 4 5 frame=pd.read_csv('E:/bdbk.csv',engine='python') 6 data = frame.drop_dup ...
分类:
编程语言 时间:
2020-02-11 09:31:36
阅读次数:
632
Makefile工程管理 demo文件如下: sequence.h #ifndef _SEQUENCE_H_ #define _SEQUENCE_H_ void sequence(unsigned char*sp,unsigned char num); #endif sequence.c #incl ...
分类:
其他好文 时间:
2020-02-11 00:42:08
阅读次数:
71
预备知识:多项式除法 上一节我们讲了checksum 这一节我们来讲CRC How do CRCs work CRC: the cyclic redundancy check 从下面几个章节来讲, 首先是讲一下如何通过 模除运算 来检测错误,为了给你后面学习CRC提供一些sense 现在有hello ...
分类:
其他好文 时间:
2020-02-10 22:35:28
阅读次数:
100
Given a positive integer X, an X-factor chain of length m is a sequence of integers, 1 = X0, X1, X2, …, Xm = X satisfying Xi < Xi+1 and Xi | Xi+1 wher ...
分类:
其他好文 时间:
2020-02-10 18:10:40
阅读次数:
107
一、Connect DataStream,DataStream -> ConnectedStream,连接两个保持他们类型的数据流,两个数据流被Connect之后,只是被放在了同一个流中,内部依然保持各自的数据和形式 不发生任何变化,两个流相互独立。 import org.apache.flink. ...
分类:
其他好文 时间:
2020-02-09 16:28:07
阅读次数:
97
I need to set the codebase for the RMI application I'm working on at the moment and have done this successfully using first try{ ResourceBundle config ...
分类:
编程语言 时间:
2020-02-08 12:08:42
阅读次数:
120
题意: 求数字11212312341234512345612345671234567812345678912345678910123456789101112345678910111212345678910111213...的第i位是几? 数位dp打表+二分+暴力模拟 0msAC哦!暴力美学! 1 # ...
分类:
编程语言 时间:
2020-02-07 20:49:10
阅读次数:
70
C++ vector 容器浅析 摘自:https://www.runoob.com/w3cnote/cpp-vector-container-analysis.html 一、什么是vector? 向量(Vector)是一个封装了动态大小数组的顺序容器(Sequence Container)。跟任意其 ...
分类:
编程语言 时间:
2020-02-07 16:34:40
阅读次数:
78
A binary search tree is uniquely determined by a given ordered insertions of a sequence of positive integers. On the other hand, a given binary search ...
分类:
其他好文 时间:
2020-02-07 10:53:55
阅读次数:
85