Group Abstract Group Abstract

Message Boards Message Boards

Failure in reproducing plots in a post

Posted 5 years ago
POSTED BY: Solar Chan
5 Replies
Posted 5 years ago

It works! Do you wanna post this as an answer in StackExchange? So that I can give you an upvote :)

POSTED BY: Solar Chan
Posted 5 years ago

This works fine

d = Import["~/Downloads/new_heart_data.csv"];
testData = d[[2 ;;, {2, 5, 8}]] // Select[FreeQ[#, "NA"] &];
POSTED BY: Rohit Namjoshi
Posted 5 years ago

Thanks! I removed all the NA rows. but when I run the testData = data[[2 ;;, {2, 5, 8}]] , I got this error -- Part::take: Cannot take positions 2 through -1 in d.

POSTED BY: Solar Chan
Posted 5 years ago

Crossposted here.

POSTED BY: Rohit Namjoshi
Posted 5 years ago
POSTED BY: Rohit Namjoshi
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard