Leading space in to_string(index=False), #11833
closes #11833 

I had to create a new PR , due to unresolved conflicts
Just look at the third commit , it is all squashed , ignore the rest

I don't get it why the travis build is not being executed for the third commit, it fails for its parent(the first commit) , but would  pass for itself , as it is an updated version of its parent and the bug in the parent in tackled

I even checked for the merge-ability of the third commit , it merges with the branch. Still the travis build is not being executed

@jreback 
