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

Provide code in Python #2

Open
pmayd opened this issue Jul 30, 2020 · 2 comments
Open

Provide code in Python #2

pmayd opened this issue Jul 30, 2020 · 2 comments

Comments

@pmayd
Copy link

pmayd commented Jul 30, 2020

As a data scientist who mainly works and codes in Python, I would love to see the code examples available in Python, too. I will try to provide them by myself, so right now I am adding Jupiter notebooks to the folders which will produce roughly the same analysis an pictures as the R examples. Once I am finished with this, we might have to think about how to structure the code and output because right now the final output is given as html, and I don't want to provide two html files. Maybe we will group the code in sub folders according to the programming language.

The aim will be to roughly reproduce the pictures so the reader has a starting point, but I will not recreate the exact picture because this will be too much the effort. We should follow the Pareto principle here. So for example the first graphic I reproduced with plotly and their margin functionality which creates the histograms but with other bin sizes.

But first I will have to migrate all examples, and I have just started reading so I am looking forward to this!

@pmayd
Copy link
Author

pmayd commented Jul 31, 2020

Just found out about the wonderful plotnine package, that I will use from now on to recreate the plots in Python. With plotnine, the syntax is nearly identical to R, helping readers with the transition between the two languages. I also provide plotly code because I like plotly's interactive capabilities but it is not as powerful as other plotting librariers

@yongduek
Copy link

yongduek commented Oct 5, 2020

Good. Looking forward to seeing it.

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

No branches or pull requests

2 participants