How to Solve NameError: name 'TimeDelta' is not defined -- astropy
Solution: Import the 'TimeDelta' module
# Add the following line to the top of your code
from astropy.time import TimeDelta
For more information:
astropy TimeDelta
# Add the following line to the top of your code
from astropy.time import TimeDelta
For more information:
astropy TimeDelta