{"action":"created","issue":{"url":"https://api.github.com/repos/jupyter/nbconvert/issues/332","repository_url":"https://api.github.com/repos/jupyter/nbconvert","labels_url":"https://api.github.com/repos/jupyter/nbconvert/issues/332/labels{/name}","comments_url":"https://api.github.com/repos/jupyter/nbconvert/issues/332/comments","events_url":"https://api.github.com/repos/jupyter/nbconvert/issues/332/events","html_url":"https://github.com/jupyter/nbconvert/issues/332","id":164749682,"number":332,"title":"Julia DataFrames format in latex/pdf","user":{"login":"clayms","id":12793783,"avatar_url":"https://avatars.githubusercontent.com/u/12793783?v=3","gravatar_id":"","url":"https://api.github.com/users/clayms","html_url":"https://github.com/clayms","followers_url":"https://api.github.com/users/clayms/followers","following_url":"https://api.github.com/users/clayms/following{/other_user}","gists_url":"https://api.github.com/users/clayms/gists{/gist_id}","starred_url":"https://api.github.com/users/clayms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clayms/subscriptions","organizations_url":"https://api.github.com/users/clayms/orgs","repos_url":"https://api.github.com/users/clayms/repos","events_url":"https://api.github.com/users/clayms/events{/privacy}","received_events_url":"https://api.github.com/users/clayms/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-07-11T02:34:56Z","updated_at":"2016-07-12T18:03:33Z","closed_at":null,"body":"How can I get a DataFrame in a Julia Notebook to output to a pdf with nbconvert and control the formatting?\r\n\r\n```\r\nusing DataFrames\r\nA = DataFrame(randn(10, 7))\r\n```\r\n\r\nWith the code above, the pdf from nbconvert shows \"10Œ7 DataFrames.DataFrame\" followed by an un-formatted table. \r\nAlthough `display(A)` and `print(A)` show different outputs in the notebook, nbconvert shows the same output as the code above does in the notebook.\r\n\r\nThe Python Markdown Notebook Extension, displays a formatted table in the notebook, but in the nbconvert pdf output, the data from the DataFrame comes through as one long column, not as a table.\r\n\r\n\r\nAlso on [StackOverflow](http://stackoverflow.com/questions/38291020/julia-dataframes-format-in-pdf-with-nbconvert)"},"comment":{"url":"https://api.github.com/repos/jupyter/nbconvert/issues/comments/232129105","html_url":"https://github.com/jupyter/nbconvert/issues/332#issuecomment-232129105","issue_url":"https://api.github.com/repos/jupyter/nbconvert/issues/332","id":232129105,"user":{"login":"juhasch","id":2445216,"avatar_url":"https://avatars.githubusercontent.com/u/2445216?v=3","gravatar_id":"","url":"https://api.github.com/users/juhasch","html_url":"https://github.com/juhasch","followers_url":"https://api.github.com/users/juhasch/followers","following_url":"https://api.github.com/users/juhasch/following{/other_user}","gists_url":"https://api.github.com/users/juhasch/gists{/gist_id}","starred_url":"https://api.github.com/users/juhasch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juhasch/subscriptions","organizations_url":"https://api.github.com/users/juhasch/orgs","repos_url":"https://api.github.com/users/juhasch/repos","events_url":"https://api.github.com/users/juhasch/events{/privacy}","received_events_url":"https://api.github.com/users/juhasch/received_events","type":"User","site_admin":false},"created_at":"2016-07-12T18:03:33Z","updated_at":"2016-07-12T18:03:33Z","body":"The advantage of a code cell output compared to markdown is that it can have more than one output format, i.e. text and html, or png and pdf. This allows nbconvert to select the format it wants to use.\r\n\r\nSo one could have the python-markdown extension store all generated output formats too, and the nbconvert preprocessor then returning the preferred one for the conversion. The extension currently mindlessly selects one format and strips all others.\r\n\r\nFor me, this is beyond the scope of what I intended with the extension, but feel free to go this route.\r\n\r\n\r\n"}}
{"actor":{"display_login":"juhasch"}}