Python Forum
matrix from matrix python numpy array
Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
matrix from matrix python numpy array
#1
Hi all,

I have just started python coding Cool  and have ran into my first brick wall Wall  .  Can some one please assist me with the following query Huh ?

 I have two Matrices:
1 – masterMatrix – A 2d matrix containing items in the rows and time as the columns column headers (time beginning from 00:00 to 23:45 at every 15 minutes interval (96 columns e.g. 00:00 | 00:15 . . . .23:45). this matrix provides a value of each item in the list a every 14 minutes. 

2 – subMatrix – A matrix which has to be populate based on selected items and times from masterMatrix 

What would be the fastest way to first initialise the subMatrix  and populate the workingTable based on the matching values in masterTable Idea .

best regards,
Shei
İmage
İmage
Reply
#2
We're not able to see your images.

Also, what have you tried? Is this homework? Do you have more specifications? Typically, we help people after they've already made an attempt and have a specific question.
Feel like you're not getting the answers you want? Checkout the help/rules for things like what to include/not include in a post, how to use code tags, how to ask smart questions, and more.

Pro-tip - there's an inverse correlation between the number of lines of code posted and my enthusiasm for helping with a question :)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to multiply a matrix with herself, until the zero matrix results peanutbutterandjelly 3 779 May-03-2021, 06:30 AM
Last Post: Gribouillis
  Convert String of an int array to a Numpy array of ints mdsousa 5 976 Apr-08-2021, 08:00 PM
Last Post: mdsousa
  NumPy Matrix help ntailor97 1 379 Apr-08-2021, 03:23 AM
Last Post: ntailor97
  How do I make a symmetric matrix from a column vector? leocsmith 3 604 Mar-30-2021, 10:17 AM
Last Post: leocsmith
  Indexing [::-1] to Reverse ALL 2D Array Rows, ALL 3D, 4D Array Columns & Rows Python Jeremy7 8 1,390 Mar-02-2021, 01:54 AM
Last Post: Jeremy7
  How to share a numpy array between 2 processes on Windows? qstdy 0 451 Jan-29-2021, 04:24 AM
Last Post: qstdy
  Matrix indexing and initialization in " for in" loop QuintenR 2 459 Dec-23-2020, 05:59 PM
Last Post: QuintenR
  Matrix Operations Without Numpy or Incorporating Python into Webpage ebryski 1 690 Nov-26-2020, 12:50 PM
Last Post: jefsummers
  Why can't numpy array be restored to a saved value? pjfarley3 1 455 Nov-25-2020, 07:40 AM
Last Post: pjfarley3
  matrix convert abbaszandi 2 490 Nov-13-2020, 08:19 PM
Last Post: deanhystad

Forum Jump:

User Panel Messages

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