Data Mining using Dynamo

Hello guys

I want to know whether can we do data mining using Python Script in Dynamo? I know that with Python, we can do data mining. But I am not sure about Python Script in Dynamo. I want to analyse a considerable amount of data using data mining techniques in Dynamo and then send their result to Revit model for data retrieval purpose. Can anybody guide me please? Thank u so much in advance.