That tutorial says
Exploratory Data Analysis (EDA) is an approach to analyzing datasets to summarize their main characteristics. It is used to understand data, get some context regarding it, understand the variables and the relationships between them, and formulate hypotheses that could be useful when building predictive models.
Both "to doing" and "to do" are used in this sentence, "an approach to analyzing datasets to summarize their main characteristics".
By "to doing" and "to do", I mean "to analyzing" and "to summarize" respectively.
I know "doing (in this case, analyzing data sets)" is a gerund that could be the subject or object of sentences, but when should I use "to doing"? This kind of usage confuses me, so I searched these keywords.
This post discussed "to doing" but didn't give a doable guide when to use which. I guess that's why the asker didn't mark any of the answer as accepted.
Leave a general talking alone, consider this particular case, is that tutorial use "to doing" the right way? When should I use "to doing"?
Note: I am asking what situation should I use "to doing" rather than what is gerund.
