://tinyurl.com/y29mule6
https://tinyurl.com/yxtg4tce
Best Regards,
Markos
Em 19-10-2020 02:23, Meghna Karkera escreveu:
Dear Sir
I am unable to find the *formula for covariance* used in np.cov syntax in
PYTHON given in link
https://numpy.org/doc/stable/reference/generated/numpy.cov.html. Could you
d I do?
Thank you,
Markos
--
https://mail.python.org/mailman/listinfo/python-list
Hi MRAB,
I changed last_cluster to tuple(last_cluster).
From:
print (updated_distance_matrix_df.loc [clusters [i], last_cluster])
to
print (updated_distance_matrix_df.loc [clusters [i], tuple(last_cluster)])
And worked.
Thank you,
Markos
Em 15-02-2020 23:36, MRAB escreveu:
On 2020-02
ce_matrix_df [clusters [i], last_cluster])
gives the error:
TypeError: unhashable type: 'list'
A last_cluster variable is of type list:
print (last_cluster, type (last_cluster))
['P3', 'P6']
And a variable cluster [i] is a string:
print (clusters [i], type (cluster
Em 22-09-2019 13:10, Piet van Oostrum escreveu:
Markos writes:
Hi,
I have a table.csv file with the following structure:
, Polyarene conc ,, mg L-1 ,,,
Spectrum, Py, Ace, Anth,
1, "0,456", "0,120", "0,168"
2, "0,456", "0,040", "0
Em 22-09-2019 13:10, Piet van Oostrum escreveu:
Markos writes:
Hi,
I have a table.csv file with the following structure:
, Polyarene conc ,, mg L-1 ,,,
Spectrum, Py, Ace, Anth,
1, "0,456", "0,120", "0,168"
2, "0,456", "0,040", "0
f there is another, more "efficient" way to make this
change without having to "iterate" all elements of the array with a loop
"for".
Also I'm also wondering if there would be any benefit of making this
modification in dataframe before extracting the numeric fields to the array.
Please, any comments or tip?
Thanks you,
Markos
--
https://mail.python.org/mailman/listinfo/python-list
Em 01-07-2019 18:03, Chris Angelico escreveu:
On Tue, Jul 2, 2019 at 6:59 AM Markos wrote:
Hi,
I observed that matplotlib reads an image file (PNG) as float32:
Please, how to read this file as int8 to get RGB in range of 0-255?
Thank you,
Markos
import numpy as np
import
Hi,
I observed that matplotlib reads an image file (PNG) as float32:
Please, how to read this file as int8 to get RGB in range of 0-255?
Thank you,
Markos
import numpy as np
import matplotlib.pyplot as plt
import matplotlib.image as mpimg
imagem = mpimg.imread('lenna.png'
[ [2, 6],
[4, 8] ] ] )
Thank you,
Markos
Em 21-06-2019 07:44, edmondo.giovanno...@gmail.com escreveu:
Every array in numpy has a number of dimensions,
"np.array" is a function that can create an array numpy given a list.
when you write
vector_1 = np.array([1,2,1])
y
1, 3)
The transpose on vector_1 don't work:
vector_1.T
array([1, 0, 1])
But the transpose method in vector_2 works fine:
vector_2.T
array([[1],
[0],
[1]])
I thought that both vectors would be treated as an matrix of 1 row and 3
columns.
Why this difference?
Any tip?
Th
Em 08-06-2018 20:11, Jim Lee escreveu:
On 06/08/2018 11:54 AM, Markos wrote:
Hi,
I'm starting my studies with Python 3 on Debian 9 that I just installed.
I have to install the matplotlib module, but I am in doubt what is
the difference of the commands:
pip3 install matplotlib
or
h are installed?
Thanks,
Markos
--
https://mail.python.org/mailman/listinfo/python-list
in the repository for python 3.4.2-2 and 2.7.9-1
My doubt is which version of Python (3.4.2-2 or 2.7.9-1) is compatible
with the opencv library 2.4.9 available in the repository?
Thanks for your attention,
Markos
On 28-05-2015 01:47, Laura Creighton wrote:
Your cmake output doesn't me
Hi Laura,
On 26-05-2015 11:21, Laura Creighton wrote:
In a message of Tue, 26 May 2015 10:24:30 -0300, Markos writes:
Hi,
I want to use OpenCV with Python.
I installed version 2.4.9
(http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.4.9/opencv-2.4.9.zip/)
in debian
realized I could use the cv module. (import cv)
But still I do not understand the differences between the modules cv and
cv2.
Do you suggest any good tutorial about the differences between cv and cv2?
I will have to make many changes in python programs using cv to reuse
the code later wi
ecent call last):
File "", line 1, in
import numpy as np
ImportError: No module named numpy
How configure idle to load the numpy module?
Thanks,
Markos
--
https://mail.python.org/mailman/listinfo/python-list
Please,
How to install the ia636 library on Debian (Squeeze) with Python 2.6?
Thank you,
Markos
--
https://mail.python.org/mailman/listinfo/python-list
18 matches
Mail list logo