MCPcopy
hub / github.com/pandas-dev/pandas / is_platform_windows

Function is_platform_windows

pandas/compat/__init__.py:70–79  ·  view source on GitHub ↗

Checking if the running platform is windows. Returns ------- bool True if the running platform is windows.

()

Source from the content-addressed store, hash-verified

68
69
70def is_platform_windows() -> bool:
71 """
72 Checking if the running platform is windows.
73
74 Returns
75 -------
76 bool
77 True if the running platform is windows.
78 """
79 return sys.platform in ["win32", "cygwin"]
80
81
82def is_platform_linux() -> bool:

Calls

no outgoing calls