Group Abstract Group Abstract

Message Boards Message Boards

0
|
1K Views
|
1 Reply
|
1 Total Like
View groups...
Share
Share this post:

How to modify column values relative to their maximum in a dataset?

Posted 6 months ago
POSTED BY: Ehud Behar
Posted 6 months ago

Here's one way:

With[
 {maxY = ds[Max, "y"]},
 ds[All, {"x" -> Identity, "y" -> (# - maxY &)}]]
POSTED BY: Eric Rimbey
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard