FDS

180 Reputation

3 Badges

18 years, 183 days

MaplePrimes Activity


These are questions asked by FDS

Perhaps a silly question but is it possible to stack two dataframe columns? When I use the Vector command the columns are stacked but nested.

Thank you for your help

I know you can filter a dataframe by putting constraints on the numeric columns. However, I would like to sort and filter based upon a given string in a column, is this possible? I cannot immediately find this in the help files. Thank you for your assistance.QuestionDataFrame.mw

Dear power users, I probably have 2 dummy questions, which I show in the attached worksheet. 

1. it looks to me that the equation can be further simplified than done by maple

2. is there a quick way in cleaning up the array by replacing the strings by something as NaN (not a number) so that I can use the array for numeric calculations?

Thank you for helping me out     Download Questions.mw

simplify((x^2-2)/(x-sqrt(2)))

(x^2-2)/(x-2^(1/2))

(1)

why is the above not simplifying to x+sqrt(2)

x+2^(1/2)

(2)

``

How can I replace the strings in the matrix below by something like NaN (not a number) so I can use it for further numeric calculations?

 

Error, invalid assignment

"dat:=[[124.0,124.0,22.0,2.2],[130.0,160.0,20.0,4.4],[130.0,129.0,26.0,4.3],[119.0,115.0,21.0,">2,6"],[136.0,129.0,30.0,4.9],[118.0,126.0,24.0,2.9],["NA / 101",115.0,20.0,3.0],[130.0,118.0,21.0,2.4],[95.0,94.0,25.0,3.4]]"

 

``

Download Questions.mw

This is perhaps a stupid question, when I use the ScientificConstant package and call a constant e.g. R this works smoothly. But when I assign the value to a variable to use it in a calculation Maple complains about the units. However, if I assign the constant manually (without using GetConstant) Maple has no issues in solving. Is there a trick to use such a constant in a calculation? I have attached a worksheet to illustrate my question better. Thank you in advance for helping me out.GetConstantQuestion.mw

I am trying to start writing small procedures in Maple. In the attached document I do not get an answer and I do not understand why. For clarity I have also added a working construct from another program so anyone willing to help me out can better understand what I am after.

Thanks in advance for assistance.

CDI_T_cor.mw

4 5 6 7 8 Page 6 of 8