Question :1. A file( Yaml file) with list of key/value pair attributes, need to merge a series of such files into 1 file, eliminate duplicate by throwing an error and not merge files if duplicates exist.
Also check the yaml files just for integrity to eliminate duplicates.
The preferred solution may not need pandas. A solution with pandas for demo sake would be appreciated.