Pandas & AWS Lambda

前端 未结 11 896
太阳男子
太阳男子 2020-12-03 04:52

Does anyone have a fully compiled version of pandas that is compatible with AWS Lambda?

After searching around for a few hours, I cannot seem to find what I\'m looki

11条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-03 05:27

    The easiest way to get pandas working in a Lambda function is to utilize Lambda Layers and AWS Data Wrangler. A Lambda Layer is a zip archive that contains libraries or dependencies. According to the AWS documentation, using layers keeps your deployment package small, making development easier.

    The AWS Data Wrangler is an open source package that extends the power of pandas to AWS services.

    Follow the instructions (under AWS Lambda Layer) here.

提交回复
热议问题