Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
DOC: add doc for reading from DataFrame.to_html #3656
Conversation
|
ok to merge? |
|
just added more notes, so yep |
|
dont' use assert_frame_equal in the v0.11.1...instead print out the table |
|
perfect! fyi....since its ipython, the |
|
cool. i figured. pre-ipdb debugging habits die hard! |
|
hmm....can you rebase on top of master? |
|
Yeah sorry. Will do when I get to a machine... |
|
@jreback rebased. |
|
something failed...... |
|
yep saw it i'm on it, i'm getting a different error locally about recursion depth... |
|
prolly cause i changed the default of infer types...and thus everything is evil object arrays |
|
@jreback any changes to assert_frame_equal recently? not made by me... |
|
ugh why does |
|
I think @y-p changed something...didn't seem to affect me (btw you can NOT have it compare dtypes, there is an option) but I think you should have infer_dtypes=True by default, it makes sense |
|
ok...the example of reading in the output of |
|
yeh...dates are tough (though coerce will only convert if at least 1 item is a date)......(if all are not dates then it will leave it) |
|
wait but why is |
|
what is in the series? |
|
if u just do s = Series(['a']).convert_objects(convert_dates='coerce')
|
|
evil! I can see 'today' being parsed to today, but
|
|
@jreback travis is now all green |
|
ah yes when parsers become too powerful and take over the world! mwahaha! |
|
it's because |
|
and also the default of just returning the current time kicks in since the parse of |
|
kind of insane if u ask me... |
|
|
|
see #3671 |
|
ok...merging.....after my PR you can decide if you want to turn convert_dates back on (or even make it a separate option to |
jreback
added a commit
that referenced
this pull request
May 21, 2013
|
|
jreback |
9985ace
|
jreback
merged commit 9985ace
into pandas-dev:master
May 21, 2013
cpcloud
deleted the
cpcloud:read-html-to-html-doc branch
May 22, 2013
|
@cpcloud if u have a chance and I don't think any docs for to_html thxs |
|
@jreback btw should the |
|
maybe someone has and there's a reason for not supporting it...i haven't looked through issues for it |
|
as far as I know these methods should accept path_or_buf |
|
ok i will open a pr for any inconsistencies i find with that |
|
@jreback would u mind if i show the html output as rendered html in the examples? that way a user gets the final result and doesn't have to open up browser to see the rendered html... |
|
that would be nice |
|
hm how do u feel about a bunch of html files in a subdirectory of |
|
I think you can put what you need in |
|
as an example, I do this is io.rst (for showing how to read a legacy file)
|
cpcloud commentedMay 20, 2013
No description provided.