analyze_data.py: changes suggested by pylint; create_pfiles: minor output change