Skip to content

Conversation

cpcloud
Copy link
Member

@cpcloud cpcloud commented May 28, 2013

No description provided.

@jreback
Copy link
Contributor

jreback commented May 28, 2013

not so sure that to_string should take this argument; its for a pure string rep, while to_csv has all the options for outputing to a file (eg. specialized nan rep, separators, etc)

@y-p ?

@cpcloud
Copy link
Member Author

cpcloud commented May 28, 2013

Yeah that's right. More things to maintain for u guys and probably would be confusing for new users. Will take out

@ghost
Copy link

ghost commented May 28, 2013

Agree with jeff, doesn't belong in to_string.

I would opt for isinstance(basestring) here, 'better to ask forgiveness" not withstanding.
to_html(FooObject) should not try to open(FooObject), it should give a sane error message.

@cpcloud
Copy link
Member Author

cpcloud commented May 28, 2013

@y-p indeed, thanks.

jreback added a commit that referenced this pull request May 30, 2013
ENH: allow to_html and to_latex to take a path for their first argument
@jreback jreback merged commit 6c7e32b into pandas-dev:master May 30, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants