pandas / 0.24.2 / reference / api / pandas.perioddtype.construct_from_string.html /

pandas.PeriodDtype.construct_from_string

classmethod PeriodDtype.construct_from_string(string) [source]

Strict construction from a string, raise a TypeError if not possible

© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.24.2/reference/api/pandas.PeriodDtype.construct_from_string.html