Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc build bug #1866

Closed
wesm opened this issue Sep 9, 2012 · 0 comments
Closed

Doc build bug #1866

wesm opened this issue Sep 9, 2012 · 0 comments
Milestone

Comments

@wesm
Copy link
Member

wesm commented Sep 9, 2012

@changhiskhan there's some bug showing up in the docs but not in the main test suite. Can you have a look?

building [html]: targets for 22 source files that are out of date
updating environment: 218 added, 0 changed, 0 removed
---------------------------------------------------------------------------    
TypeError                                 Traceback (most recent call last)
<ipython-input-767-cc6f0e841b62> in <module>()
      1 df = read_csv('tmp.csv', header=None, parse_dates=date_spec,
----> 2                date_parser=conv.parse_date_time)

/home/wesm/code/pandas/pandas/io/parsers.pyc in read_csv(filepath_or_buffer, sep, dialect, header, index_col, names, skiprows, na_values, keep_default_na, thousands, comment, parse_dates, keep_date_col, dayfirst, date_parser, nrows, iterator, chunksize, skip_footer, converters, verbose, delimiter, encoding, squeeze)
    239         kwds['delimiter'] = sep
    240 
--> 241     return _read(TextParser, filepath_or_buffer, kwds)
    242 
    243 @Appender(_read_table_doc)

/home/wesm/code/pandas/pandas/io/parsers.pyc in _read(cls, filepath_or_buffer, kwds)
    192         return parser
    193 
--> 194     return parser.get_chunk()
    195 
    196 @Appender(_read_csv_doc)

/home/wesm/code/pandas/pandas/io/parsers.pyc in get_chunk(self, rows)
    812         columns = list(self.columns)
    813         if self.parse_dates is not None:
--> 814             data, columns = self._process_date_conversion(data)
    815 
    816         df = DataFrame(data=data, columns=columns, index=index)

/home/wesm/code/pandas/pandas/io/parsers.pyc in _process_date_conversion(self, data_dict)
    989 
    990                 _, col, old_names = _try_convert_dates(
--> 991                     self._conv_date, colspec, data_dict, self.orig_columns)
    992 
    993                 new_data[new_name] = col

/home/wesm/code/pandas/pandas/io/parsers.pyc in _try_convert_dates(parser, colspec, data_dict, columns)
   1120     to_parse = [data_dict[c] for c in colspec if c in data_dict]
   1121     try:
-> 1122         new_col = parser(*to_parse)
   1123     except DateConversionError:
   1124         new_col = parser(_concat_date_cols(to_parse))

/home/wesm/code/pandas/pandas/io/parsers.pyc in _conv_date(self, *date_cols)
    951                     return lib.try_parse_dates(_concat_date_cols(date_cols),
    952                                                parser=self.date_parser,
--> 953                                                dayfirst=self.dayfirst)
    954 
    955     def _process_date_conversion(self, data_dict):

/home/wesm/code/pandas/pandas/lib.so in pandas.lib.try_parse_dates (pandas/src/tseries.c:98928)()

/home/wesm/code/pandas/pandas/lib.so in pandas.lib.try_parse_dates (pandas/src/tseries.c:98870)()

TypeError: parse_date_time() takes exactly 2 arguments (1 given)
reading sources... [100%] whatsnew                                             
/home/wesm/code/pandas/doc/source/faq.rst:74: ERROR: Unknown interpreted text role "issue".
source/v0.8.0.txt:151: WARNING: Inline literal start-st
changhiskhan added a commit that referenced this issue Sep 10, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants