Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • Thank-you. The results are identical to the for-loop. Your solution is similar to Bago's which a tad cleaner for our needs. Commented Jan 2, 2012 at 19:33
  • @dbv and @jterrace. Have you guys checked to see if this works when there are repeats in list_vals_flat[toadd]? Unless I'm missing something this method might have a bug. Commented Jan 2, 2012 at 21:04