oldoc63 / learningDS

Learning DS with Codecademy and Books
0 stars 0 forks source link

Basic Operations #464

Open oldoc63 opened 1 year ago

oldoc63 commented 1 year ago

Substitution

One of the most common things you might want to do with a mathematical expression is substitution. Substitution replaces all instances of something in an expression with something else.

oldoc63 commented 1 year ago

Converting strings to Sympy expressions

The sympify function (that’s sympify, not to be confused with simplify) can be used to convert strings into SymPy expressions.