Sub ss() Dim biao As Worksheet Excel.Application.DisplayAlerts = False For Each biao In Sheets If biao.Name "绝不能删" Then biao.Delete End If Next Excel.... ...
分类:
编程语言 时间:
2018-11-30 00:34:20
阅读次数:
197
我已经创建了一个火花dataframe阅读csvhdfs的位置。emp_df=spark.read.format("com.databricks.spark.csv")\.option("mode","DROPMALFORMED")\.option("header","true")\.option(
分类:
其他好文 时间:
2018-11-29 19:50:18
阅读次数:
205
安装: npm install file-saver --save 或者(需下载FileSaver.js文件) <script src="path/FileSaver.js"/> 引用: import FileSaver from 'file-saver' 下载: FileSaver.saveAs( ...
分类:
Web程序 时间:
2018-11-11 16:27:16
阅读次数:
3718
项目有需要画多条时间序列的曲线,找了下echarts的官网,可视化效果真香,效果如下 http://echarts.baidu.com/examples/editor.html?c=grid-multiple 代码如下: var timeData = ['1-Jan','2-Jan','3-Jan' ...
分类:
其他好文 时间:
2018-10-02 17:23:44
阅读次数:
1677
(工作之后,就让自己的身心都去休息吧) 今天介绍一下文本数据的提取和转换,这里主要实例的转换为excel文件(.xlsx)转换world文件(.doc/docx),同时需要使用win32api,同pywin32库。 pandas库我之前的博客里面都有详细的介绍和使用,这里主要介绍下win32库。 P ...
分类:
编程语言 时间:
2018-08-16 13:49:13
阅读次数:
242
public ActionResult Index() { return View(); } public string SaveFile() { if (Request.Files.Count > 0) { Request.Files[0].SaveAs(Server.MapPath("~/App ...
分类:
其他好文 时间:
2018-08-07 21:28:17
阅读次数:
150
public class FactoryController : Controller { ProductInfosBll bll = new ProductInfosBll(); CityBll city = new CityBll(); static int index = 1;//索引页 st ...
分类:
其他好文 时间:
2018-07-29 17:04:12
阅读次数:
198
简单的图片上传: 1.进入官网下载uploadify插件:http://www.uploadify.com/download/ 2.导入uploadify插件提供的css样式和类库: <link href="~/Content/uploadify/uploadify.css" rel="styles ...
分类:
其他好文 时间:
2018-07-02 16:14:41
阅读次数:
137
1、如何判断是否选中文件?FileUpload.FileName - 选中文件的文件名,如果长度不大于0,那么说明没选中任何文件js - f.value.length 2、如何保存到服务器上?FileUpload.SaveAs("绝对路径"); 3、如何获得绝对路径?(李献策lxc) 先编写相对路径 ...
制作unity自动打包工具时,不同的渠道需要不同的AppIcon,在网上找了方法,记录下 代码: ...
分类:
移动开发 时间:
2018-06-21 13:39:32
阅读次数:
361