Python is a dynamic, strongly typed, object-oriented, multipurpose programming language, designed to be quick (to learn, to use, and to understand), and to enforce a clean and uniform syntax. Two similar but incompatible versions of Python are in use (Python 2.7 or 3.x). For version-specific Python questions, please also use the [python-2.7] or [python-3.x] tags. When using a Python variant (Jython, Pypy, Iron-python, etc.) - please also tag the variant.
I have a set of data and I want to compare which line describes it best (polynomials of different orders, expo
I know I could implement a root mean squared error function like this: def rmse(predictions, targets): re
It is possible to install NumPy with pip using pip install numpy. Is there a similar possibility with SciPy?
I am looking for a function that takes as input two lists, and returns the Pearson correlation, and the signif
Is there a SciPy function or NumPy function or module for Python that calculates the running mean of a 1D arra
Lets assume we have a dataset which might be given approximately by import numpy as np x = np.linspace(0,2*np
I recently discovered Conda after I was having trouble installing SciPy, specifically on a Heroku app that I a
I have a very similar question to this question, but still one step behind. I have only one version of Python
SciPy appears to provide most (but not all [1]) of NumPy's functions in its own namespace. In other words
I'm working on a small django project that will be deployed in a servlet container later. But development
I just installed Jython 2.5.1. I want to convert my Python file into Java class file and it is instructed on t
I know Jython converts Python code into Java byte code, but are there any syntax changes between the two? and
Having tries to target two of these environments at the same time I can safely say the if you have to use a da
The greenlet package is used by gevent and eventlet for asynchronous IO. It is written as a C-extension and t
I was sure that it hasn't, but looking for a definite answer on the Interwebs left me in doubt. For examp
I'm wondering how I can catch any raised object (i.e. a type that does not extend Exception), and still g