Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Comparing
Post: Comparing

I have two 2d numpy arrays to compare. How can I compare them? Eg. [[1 1] [1 2] [2 1] [2 2]] with [[1. 2.] [2. 1.] [2. 1.] [1. 2.]]. Answer should be they do not match. But if second was [[1 1] [2 1]...
nats General Coding Help 2 1,751 Jan-12-2020, 09:22 PM
    Thread: numpy problem
Post: numpy problem

Hi, my task is to enter two matrices in form of numpy array, which are same dimension (nxn) and their elements are less or equal n. Then I need to overlap those matrices, so that I get matrix of all t...
nats Homework 0 1,826 Jan-12-2020, 02:54 PM
    Thread: Code problems
Post: RE: Code problems

I have this (array([1, 2]), array([2, 6]), array([5, 9]), array([4, 7]). How can I compare elements of each pair, eg. 1 with 2, 2 with 6...?
nats Data Science 3 2,123 Jan-11-2020, 09:05 PM
    Thread: Code problems
Post: Code problems

Hi, I'm having problems so I hope someone can help. I have two matrices (2d numpy arrays) and I need to make third one by overlapping first two matrices so that result is tuples. So, if first one is M...
nats Data Science 3 2,123 Jan-11-2020, 03:16 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020