Guest User

Untitled

a guest
Dec 15th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. Import["C:\Users\njs\Documents\Computing\Software\Mathematica\
  2.  
  3. myData = Flatten[
  4. MapIndexed[{Sequence @@ #2, #1} &,
  5. Import["/Users/nick/Documents/Mathematica/sampleData3.xlsx",
  6. {"Data", 1, {2, 3, 4, 5}, {2, 3, 4, 5}}
  7. ], (* <-- close Import. NOTE: {"Data", 1, {2;;5},{2;;5} did not work *)
  8. {2}], (* <-- Close MapIndexed *)
  9. 1] (* <-- Close Flatten *)
Add Comment
Please, Sign In to add comment