Python Daily
2.57K subscribers
1.48K photos
53 videos
2 files
38.9K links
Daily Python News
Question, Tips and Tricks, Best Practices on Python Programming Language
Find more reddit channels over at @r_channels
Download Telegram
Feedback/improvements on this Nyquist/Bode plots interactive panel made with Bokeh

Some time ago I've posted another thread about a Python3 package for control systems toolbox that I'm developing. It's called `harold` ([Github link](https://github.com/ilayn/harold) )

Now, things are getting a bit more concrete behind the scenes, though on the documentation and tutorial side I'm really falling short to keep up.

Anyways, since long time, I always wanted to see/show/explain things with Nyquist and Bode plots together as they are basically the same data in different coordinates. I wasted literally weeks to do this in matlab with countless nonsensical .m files scattered to tens of pieces. Hence I've fiddled with the amazing Bokeh library.

It's still of course wonky and I've faked the frequency response to be a simple spiral to skip the package loading. I would really appreciate if you can tell me whether it strikes you as an improvement or just another bling bling that doesn't add much.

Things I cannot understand is the disappearing of the curves when hovered (might be related to how I fake the segment and ray visibility) and so on.

So let me know what you think. You can have a look at it at

http://nbviewer.jupyter.org/gist/ilayn/f8cf8b0a68c6839dbcc346884511e2ed

~~PS: For some reason nbviewer only renders it with the `flush_cache` flag.~~

/r/Python
https://redd.it/5kbknn
Help Installing Ipython

Hello everyone. Been trying to install Ipython for 2h with no success. I previously installed Python 2.7.9 and then run command line and write - pip install ipython (Im following my teacher's tutorial).

In the end I always get this error - http://i.imgur.com/JLnXHJ9.png

I have tried reinstalling Python 2.7.9 but it didn't solve my problem. Im using Windows 8 64bits.

Any ideas how can I solve this?

EDIT: Solved, had to run Command Line in Admin mode.

/r/IPython
https://redd.it/4mdbtg
Spatial Analysis: Mapping Earthquakes in Japan, Korea, and China from 1970 to 2013
http://nbviewer.jupyter.org/github/Prooffreader/Misc_ipynb/blob/master/Japan_Earthquakes/earthquakes-jp.ipynb

/r/JupyterNotebooks
https://redd.it/47thtw
What's the state of django 3rd party libraries vs. rails?

Hi all,

I'm looking to build a responsive website with a handful of standard features, but really want to be able to leverage 3rd party frameworks and libraries to keep my life simple.

I'd far prefer to use python/django over rails if possible, but would go with whichever platform has more plug-and-play type functionality and have CLEAN widget design. I don't want to come up with a bunch of new UI element iconography.

Here are the main library types I'd be looking for:

Not sure on:

- Image upload & thumbnailing with cropping (to a CDN)
- Chat/messaging
- Forum type discussion
- Authentication via social media (FB)
- Search (by username and other custom filters)
- Payments (probably just stripe or braintree to start)

Probably standard:

- Autocomplete for search
- Easy form validation
- Captcha / spam prevention


/r/django
https://redd.it/5k9v2f
Where do you find Jypyter plugins?

Is there a central repo to search for plugins? I imagine pip might be a place, but it doesn't seem like all plugins are pip installable.

/r/IPython
https://redd.it/5kf6ve
[D] Machine Learning - WAYR (What Are You Reading) - Week 16

This is a place to share machine learning research papers, journals, and articles that you're reading this week.
If it relates to what you're researching, by all means elaborate and give us your insight, otherwise it could just be an interesting paper you've read.

Please try to provide some insight from your understanding and please don't post things which are present in wiki.

Preferably you should link the arxiv page (not the PDF, you can easily access the PDF from the summary page but not the other way around) or any other pertinent links.

|Previous weeks|
|--------------|
|[Week 1](https://www.reddit.com/r/MachineLearning/comments/4qyjiq/machine_learning_wayr_what_are_you_reading_week_1/)|
|[Week 2](https://www.reddit.com/r/MachineLearning/comments/4s2xqm/machine_learning_wayr_what_are_you_reading_week_2/)|
|[Week 3](https://www.reddit.com/r/MachineLearning/comments/4t7mqm/machine_learning_wayr_what_are_you_reading_week_3/)|
|[Week 4](https://www.reddit.com/r/MachineLearning/comments/4ub2kw/machine_learning_wayr_what_are_you_reading_week_4/)|
|[Week 5](https://www.reddit.com/r/MachineLearning/comments/4xomf7/machine_learning_wayr_what_are_you_reading_week_5/)|
|[Week 6](https://www.reddit.com/r/MachineLearning/comments/4zcyvk/machine_learning_wayr_what_are_you_reading_week_6/)|
|[Week 7](https://www.reddit.com/r/MachineLearning/comments/52t6mo/machine_learning_wayr_what_are_you_reading_week_7/)|
|[Week 8](https://www.reddit.com/r/MachineLearning/comments/53heol/machine_learning_wayr_what_are_you_reading_week_8/)|
|[Week 9](https://www.reddit.com/r/MachineLearning/comments/54kvsu/machine_learning_wayr_what_are_you_reading_week_9/)|
|[Week 10](https://www.reddit.com/r/MachineLearning/comments/56s2oa/discussion_machine_learning_wayr_what_are_you/)|
|[Week 11](https://www.reddit.com/r/MachineLearning/comments/57xw56/discussion_machine_learning_wayr_what_are_you/)|
|[Week 12](https://www.reddit.com/r/MachineLearning/comments/5acb1t/d_machine_learning_wayr_what_are_you_reading_week/)|
|[Week 13](https://www.reddit.com/r/MachineLearning/comments/5cwfb6/d_machine_learning_wayr_what_are_you_reading_week/)|
|[Week 14](https://www.reddit.com/r/MachineLearning/comments/5fc5mh/d_machine_learning_wayr_what_are_you_reading_week/)|
|[Week 15](https://www.reddit.com/r/MachineLearning/comments/5hy4ur/d_machine_learning_wayr_what_are_you_reading_week/)|

Most upvoted papers last week :

[Learning to learn by gradient descent by gradient descent](https://arxiv.org/abs/1606.04474)

[Natural Language Understanding with Distributed Representation](https://github.com/nyu-dl/NLP_DL_Lecture_Note)

[Geometric deep learning: going beyond Euclidean data](https://arxiv.org/abs/1611.08097)

Besides that, there are no rules, have fun and Merry Christmas to everyone!

/r/MachineLearning
https://redd.it/5kd6vd
Django vS other Dev frameworks

Hi can someone explain to me in laymens terms the perks of developing applications quickly within the django framework as opposed to writing logic by hand with JS and using that to interact with my html/css? I am currently working with python for my applications due to it's ease of transferring ideas to code. However I am still unsure about how to make the GUI/front-end is that all still done with standard HTML/css and django/python is back-end/database interaction ? Would love to get a discussion going, hope everyones having a good boxing day.

/r/djangolearning
https://redd.it/5ke7cg
PrettyPandas - Add report style summaries and units to Pandas DataFrames
http://prettypandas.readthedocs.org/en/latest/

/r/pystats
https://redd.it/41rko0