小编lob*_*obi的帖子

处理 Excel 数据时选择熊猫而不是 xlsxwriter

既然 Pandas 使用了 xlsxwriter 模块,那么既然可以直接使用 xlsxwriter 模块,为什么还要使用 Pandas 呢?

也许一个更直接的问题是,在处理 excel 数据时,为什么要考虑用 Pandas 替换 xlsxwriter?

我对这个问题的目标是帮助人们决定在处理 Excel 数据时是使用 xlsxwriter 还是 Pandas。

pandas xlsxwriter

2
推荐指数
1
解决办法
5076
查看次数

Terraform 在不需要时安装提供程序

由于使用 M1 mac,我收到一个错误,导致 terraform 初始化无法成功(见下文);这是由于 terraform 在不需要时尝试安装 hasicorp/template 提供程序引起的。为什么当没有任何资源需要时,hashicorp/模板提供程序会尝试安装?

\n
\n

\xe2\x94\x82 错误:不兼容的提供程序版本 \xe2\x94\x82 \xe2\x94\x82 提供程序\nregistry.terraform.io/hashicorp/template v2.2.0 没有\n适用于您当前平台 darwin_arm64 的软件包。

\n
\n

此处记录:https://discuss.hashicorp.com/t/template-v2-2-0-does-not-have-a-package-available-mac-m1/35099

\n

具体来说,即使我没有使用 template_file 或来自该提供程序的任何其他实体,terraform 仍然尝试安装 hashcorp/template 提供程序;我尝试删除 .terraform 和我的锁定文件,但仍然遇到此问题:

\n
Initializing provider plugins...\n- terraform.io/builtin/terraform is built in to Terraform\n- Finding latest version of hashicorp/template...\n- Finding hashicorp/aws versions matching "~> 3.0"...\n- Finding latest version of hashicorp/random...\n
Run Code Online (Sandbox Code Playgroud)\n

terraform apple-m1

0
推荐指数
1
解决办法
1198
查看次数

标签 统计

apple-m1 ×1

pandas ×1

terraform ×1

xlsxwriter ×1