Tag: scipy

58 votes
9 answers
468 views
Does Conda replace the need for virtualenv?

I recently discovered Conda after I was having trouble installing SciPy, specifically on a Heroku app that I a

avatar
Percy
0 1 0 9
asked 07 September, 2021
47 votes
29 answers
1.7K views
Import Error: No module named numpy

I have a very similar question to this question, but still one step behind. I have only one version of Python

avatar
Fabian
0 1 0 9
asked 07 September, 2021
60 votes
8 answers
1.2K views
Relationship between SciPy and NumPy

SciPy appears to provide most (but not all [1]) of NumPy's functions in its own namespace. In other words

avatar
Tuan
0 1 0 9
asked 07 September, 2021
59 votes
12 answers
2.3K views
Read .mat files in Python

Is it possible to read binary MATLAB .mat files in Python? I've seen that SciPy has alleged support for

avatar
Majorie
0 1 0 9
asked 07 September, 2021
52 votes
8 answers
1.1K views
dropping infinite values from dataframes in pandas?

what is the quickest/simplest way to drop nan and inf/-inf values from a pandas DataFrame without resetting mo

avatar
Scot
0 1 0 9
asked 07 September, 2021
48 votes
15 answers
433 views
Sorting arrays in NumPy by column

How can I sort an array in NumPy by the nth column? For example, a = array([[9, 2, 3], [4, 5, 6],

avatar
Nidia
0 1 0 9
asked 07 September, 2021
53 votes
13 answers
927 views
How do I read CSV data into a record array in NumPy?

I wonder if there is a direct way to import the contents of a CSV file into a record array, much in the way th

avatar
Arline
0 1 0 9
asked 07 September, 2021