life is too short for a diary



Posts Tagged: python (Page 5)

Unit Test AWS Lambda Function in Python

AWS lambda function are event driven serverless code. To follow TDD, we should write unit test our lambda functions...

Continue reading → aws python



Pandas inner join on dataframes

Performing inner join on pandas dataframe is straightforward. However I wanted to override values from the right dataframe...

Continue reading → python pandas



Resolve the Error CROSSSLOT Keys in request don't hash to the same slot

AWS offers managed service Amazon MemoryDB which is redis compatible. The entire keyspace in Redis cluster is divided into hash slots and these slots are assigned to multiple nodes. In redis, getting a single value is straightforward...

Continue reading → python redis memorydb aws