pydata/pandas — pull request #5374 by bjornarneson (2013-10-29 14:12:05+00:00)
Title: Escape dollar signs when writing dataframe to latex

A dollar sign has special meaning in latex. When a dataframe contains a dollar sign (as part of a column label, for example), to_latex() spits out invalid latex. This commit escapes dollar signs.