since it exceeds Excel‘s limit of 65,530 URLS per worksheet
今天用pandas 写数据到excel,里面有很多的网址,数据量不大,但是出现:since it exceeds Excel's limit of 65,530 URLS per worksheet 告警。说明白点就是写到excel的超链接数超过了65530行。
往上查到的解决办法都是:
writer = pd.ExcelWriter(file_name, engine='xlsxwriter', options={'strings_to_urls': False}) ,这种对于旧版本的可能没问题,但是我使用后,又会爆出:
FutureWarning: Use of **kwargs is deprecated, use engine_kwargs instead.
新版本弃用**kwargs,使用下面方式就OK。
writer = pd.ExcelWriter(file_name, engine='xlsxwriter', engine_kwargs={'options': {'strings_to_urls': False}})
后来发现,数据写不进去,也不会报错,如是就换成了:
with pd.ExcelWriter(
file_name,
engine='xlsxwriter',
engine_kwargs={'options': {'strings_to_urls': True}}
) as writer:
data.to_excel(writer, index=False)
since it exceeds Excel‘s limit of 65,530 URLS per worksheet相关推荐
- UserWarning: Ignoring URL ‘xxx‘ since it exceeds Excel‘s limit of 65,530 URLS per worksheet.
最近爬虫使用时出现警告!!! 原因是Exce表限制URL类型数据量为65530,超出的部分会被舍弃. 导致url 数据缺失. 解决方法: 将strings_to_urls自动转换功能关闭即可. 原代码 ...
- .net连接DB2的异常SQL0666 - SQL query exceeds specified time limit or storage limit.错误处理
SQL0666 - SQL query exceeds specified time limit or storage limit. 原因:查询超时 解决办法: set the DbCommand.C ...
- entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit
webpack打包提示文件体积过大导致 The following asset(s) exceed the recommended size limit (244 KiB). This can imp ...
- The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB).
笔者遇到的问题是:vue项目部署成功,也能访问,唯独就是界面加载不出来,通过logs日志:tail error.log命令,打印出:说一部分js.css文案not found****,笔者cd到项目目 ...
- webpack打包时提示:The following entrypoint(s) combined asset size exceeds the recommended limit
如果webpack打包时提示:The following entrypoint(s) combined asset size exceeds the recommended limit,可以设置 &q ...
- git错误:exceeds file size limit of 100.0 MB remote: error: hook declined to update refs/heads/master
今天在git上提交了一个大于100M的文件,结果发现报错如下: remote: warning: Large files detected. remote: error: File a/b/c is ...
- 智能合约部署Error: exceeds block gas limit undefined
在学习区块链时,我们按照某些文章的教程,使用 Browser-solidity 在 Go-Ethereum上进行智能合约部署时,可能会出现Error: exceeds block gas limit ...
- webpack打包提示: The following entrypoint(s) combined asset size exceeds the recommended limit
webpack打包时会出现: 原因是因为webpack打包提示文件体积过大导致报错. 优化方案: module.exports = {configureWebpack: config => {/ ...
- Git remote: error: this exceeds file size limit of 100.0 MB
主要是针对新手会出现的问题,我第一次用GitHub上传代码时,因为个别文件较大所以就报了以上错误,在本地删除之后,仍然会报相同错误,说明已经存到git某缓存区了,可以如下操作来修改: 比如我之前删除的 ...
- Github/gitee 上传文件最大100MB限制this exceeds file size limit of 100.0 MB
最好的办法:备份好数据,然后全部目录删除 Github只允许上传最大100MB的文件,如果超过,则会被server reject 则需: git filter-branch --force --ind ...
最新文章
- MySql库中所有表的属性_SQL查询某库所有的表所有的字段及字段的属性
- Android实现仿QQ登录界面背景动画效果
- Android Studio 配置虚拟设备的镜像文件的存放路径
- Task三个列子的分享
- 认识一下Global.asa 文件
- 判断一个变量是不是数组
- SAP CRM Fiori应用My Task的前台优化
- python下载大文件mp4_Python3 使用requests模块显示下载大文件显示进度
- hanlp加载预训练模型
- 微信小程序 循环展示
- 计算机x4,嵌入式计算机的PCIex4保持高容量和快速数据传输的方法
- UE4面试基础知识(一)
- 北京54坐标与西安80坐标相互转换的两种方法
- android 调用系统输入法,Android 1.6中文输入法调用
- androidnbsp;关机闹钟
- BTF社区不忘初心共筑未来通证新经济
- 云呐|动力环境监控系统,机房环境及动力设备监控系统
- 动物实验可用计算机模拟,《动物实验类试题》.doc
- LSTM处理图像分类(RGB彩图,自训练长条图,百度云源码,循环神经网络)
- chrome、firefox浏览器安装hackbar插件
热门文章
- mac之间快速传递文件-from-jianshu-狂奔的胖蜗牛
- tensorflow中gpu和cpu切换
- 苹果平板历史各版本 援引自知乎https://www.zhihu.com/question/315944330
- 红米9A android版本,红米9a和红米9哪一款手机好?有什么区别存在?
- 【css】css实现果冻盒子加载动画
- ORACLE / MYSQL----SQL语句大全
- PKM全民推广系列四:“个人知识管理”的知识分类体系
- CentOS 7:设置静态/动态ip地址
- 新高考十二种选科情况下,再选科目的考室安排的探索2.0版
- word怎么压缩文件大小,word压缩变小