pandas.show_versions

pandas 3.1.1 · Testing, errors, and warnings · function

Print environment and dependency versions for debugging or bug reports.

Call syntax

pd.show_versions(as_json=False)

Run the example

Edit the example and select Run Python to see the result.

Parameters

ParameterRequirementAccepted values and behavior
as_json Optional
Positional or keyword
Default False
str or bool

False prints a readable report. True prints JSON. A filename writes the JSON to that path.

Returns

None