Scikit Convergent Cross Mapping (skccm) can be used as a way to detect causality between time series.
For a quick explanation of this package, I suggest checking out the Documentation as well as the wikipedia article on convergent cross mapping . Additionally, Dr. Sugihara's lab has produced some good summary videos about the topic:
For a more complete background, I suggest checking out the following papers:
Sugihara also has a good talk about about Correlation and Causation