共计 281 个字符,预计需要花费 1 分钟才能阅读完成。
- sdk 版本
Python 3.9
pandas 1.3.1
- 示例代码
import pandas as pd
s3options = {"client_kwargs": {"region_name": "cn-northwest-1"}, # 中国宁夏区
"key": "aws_access_key_id",
"secret": "aws_secret_access_key",
}
df = pd.read_csv("s3://qbit-cn-northwest-1/data/word.csv", storage_options=s3options)
print(df.head())
本文出自 qbit snap
正文完