Skip to content
Advertisement

Tag: amazon-web-services

Using Pandas-Profiling in AWS Glue

I am trying to use pandas profiling in AWS Glue. I downloaded the wheel file and used it in the Glue Library Path. BUt whenever I am trying to run a pandas profiling, module missing error is coming up(like multimethod, visions, networkx, pillow and more). What should I do? Answer Please make sure you’ve installed all dependencies from requirements.txt: https://github.com/pandas-profiling/pandas-profiling/blob/develop/requirements.txt

Sorting a list of ec2 instances python

I have a python script which prints out a list of ec2 instances as follows : [‘i-06db4eb158ad0bdfd,2021-05-12 12:04:19+00:00,False’, ‘i-0f67cf99fb4536c3f,2020-10-14 13:32:23+00:00,asg-elk-‘, ‘i-0539c8dfc839cbfda,2020-10-26 07:38:01+00:00,asg-standalone’, ‘i-0f285277529543462,2018-05-18 16:47:00+00:00,False’, ‘i-0d649cebdf54bd2f4,2020-03-12 10:07:07+00:00,asg-ddf’, ‘i-01734dfef0159c5c8,2020-10-20 13:05:27+00:00,asg-pro’, ‘i-0ff596f1dc01b61d8,2021-03-17 11:21:21+00:00,asg-base-test’] I want to be able to sort the list out based on CreationDateTime. I have used the python built-in function sorted() but that doesn’t seem to be giving me the

Advertisement