Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Updated pandas.io.data.Options #2758

Merged
merged 4 commits into from Feb 10, 2013
View
@@ -230,7 +230,9 @@ def _parse_options_data(table):
rows = table.findall('.//tr')
header = _unpack(rows[0], kind='th')
data = [_unpack(r) for r in rows[1:]]
- return TextParser(data, names=header).get_chunk()
+ # Use ',' as a thousands separator as we're pulling from the US site.
+ return TextParser(data, names=header, na_values=['N/A'],
+ thousands=',').get_chunk()
class Options(object):