To Python Experts:
I'm new to programming and learning logging python package.
According to logging document, I set the format of my logging message as follows:
logging.basicConfig(level=logging.DEBUG, format='%(asctime)s - %(levelname)s - %(message)s')
Here is the output of logging message:
2016-08-09 19:57:08,363 - DEBUG - A B
2016-01-31 0 12
2016-02-29 -1 12
How to make A B (the column names of the datafram) to the next line?:
Also, would you please help me understand %(asctime)s - %(levelname)s - %(message)s? why put % before bracket and s after bracket?
2016-08-09 19:57:08,363 - DEBUG -
A B
2016-01-31 0 12
2016-02-29 -1 12