Safely processing JSON-like data structures: https://www.reddit.com/r/Python/comments/4etfcc/safely_processing_jsonlike_data_structures/
reddit
Safely processing JSON-like data structures • /r/Python
Consider the following straightforward code: data = json.load(x) # `x` is a file or an HTTP response for person in data['people']: ...
A basic introduction to NumPy's einsum (one of NumPy’s jewels that you may not be aware of): https://www.reddit.com/r/Python/comments/4ethfv/a_basic_introduction_to_numpys_einsum_one_of/
reddit
A basic introduction to NumPy's einsum (one of NumPy’s... • /r/Python
2 points and 0 comments so far on reddit
PySpark row-wise function composition: http://stackoverflow.com/questions/36584812/pyspark-row-wise-function-composition
Stack Overflow
PySpark row-wise function composition
As a simplified example, I have a dataframe "df" with columns "col1,col2" and I want to compute a row-wise maximum after applying a function to each column :
def f(x):
return (x+1)
max_udf=udf(
def f(x):
return (x+1)
max_udf=udf(
Python coding environment similar to RStudio?: https://www.reddit.com/r/Python/comments/4etxqo/python_coding_environment_similar_to_rstudio/
reddit
Python coding environment similar to RStudio? • /r/Python
I've been picking up Python, and the number one thing that I find difficult is that there doesn't seem to be a coding environment that works how I...
Converting to another web framework: Basic apps in Symfony and Django: https://www.reddit.com/r/Python/comments/4etva0/converting_to_another_web_framework_basic_apps_in/
reddit
Converting to another web framework: Basic apps in... • /r/Python
5 points and 0 comments so far on reddit
fscache.py Gist - Filesystem caches for expensive reporting calls: https://www.reddit.com/r/Python/comments/4eu4ge/fscachepy_gist_filesystem_caches_for_expensive/
Looking for a video I watched a while ago about for loops, enumerate, yield and zip: https://www.reddit.com/r/Python/comments/4eu9jz/looking_for_a_video_i_watched_a_while_ago_about/
reddit
Looking for a video I watched a while ago about for... • /r/Python
He spoke about how for i in range(len(x)) should never be used and that for i,y in enumerate(x) was always the way forward. He...
Why learning Haskell/Python makes you a worse programmer (2006): http://lukeplant.me.uk/blog/posts/why-learning-haskell-python-makes-you-a-worse-programmer/
Luke Plant's home page
Why learning Haskell/Python makes you a worse programmer
A rant about how annoying programming in C# is, really.
Why can't I import my self-created Python package?: http://stackoverflow.com/questions/36596851/why-cant-i-import-my-self-created-python-package
Stackoverflow
Why can't I import my self-created Python package?
I just created a Python package (sources here) but I'm having trouble using it after installation. A simple import gives me an ImportError.
Below I'll show exactly what I did so that you can repro...
Below I'll show exactly what I did so that you can repro...
Plotting a symbolic function with sympy: https://www.reddit.com/r/Python/comments/4ewu3k/plotting_a_symbolic_function_with_sympy/
reddit
Plotting a symbolic function with sympy • /r/Python
Hey everyone! I'm a complete newbie to python, coming over from Mathematica. I'm trying to do the following: 1) I have defined a function: def...
Easy way to run python on Windows?: https://www.reddit.com/r/Python/comments/4ewu4n/easy_way_to_run_python_on_windows/
reddit
Easy way to run python on Windows? • /r/Python
I want to share my python script with other users on a forum. The issue is that those users have to install python and all the necessary modules...
How do I get python to run multiple functions at the same time?: https://www.reddit.com/r/Python/comments/4ex0cw/how_do_i_get_python_to_run_multiple_functions_at/
reddit
How do I get python to run multiple functions at the... • /r/Python
I recently started working on a bot for discord, and I wanted to use it for twitch as well. [Here](http://pastebin.com/aBhzi03c) is my...
New MonkeyLearn addon for Scrapy: Text Analysis on Scraped Data at your Fingertips: https://www.reddit.com/r/Python/comments/4ex3qe/new_monkeylearn_addon_for_scrapy_text_analysis_on/
reddit
New MonkeyLearn addon for Scrapy: Text Analysis on... • /r/Python
1 points and 0 comments so far on reddit