Every line of 'pandas datetime' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your Python code is secure.
553 def to_datetime(self, dayfirst=False): 554 """ 555 DEPRECATED: use :meth:`to_timestamp` instead. 556 557 Cast to DatetimeIndex. 558 """ 559 warnings.warn("to_datetime is deprecated. Use self.to_timestamp(...)", 560 FutureWarning, stacklevel=2) 561 return self.to_timestamp()