BUG: DataFrame.to_csv fails silently if nanRep not None
The nanRep argument to DataFrame.to_csv() is deprecated and na_rep should be used instead. .to_csv should succeed with a warning if nanRep is specified. Before this fix, to_csv threw a warning but did not save the file.
