Файловый менеджер - Редактировать - /home/digitalm/venv/lib/python3.7/site-packages/pandas/compat/__pycache__/__init__.cpython-37.pyc
Назад
B �5�g � @ s d Z ddlZddlZddlZddlmZ ddlmZmZm Z m Z mZmZ ddl mZmZmZmZ ejdkZejdkZejdkZe�� d kZejd kZeeed�dd �Zed�dd�Zed�dd�Zed�dd�Zed�dd�Z ed�dd�Z!dd� Z"dd� Z#dddd d!d"d#d$d%d&g Z$dS )'zn compat ====== Cross-compatible functions for different versions of Python. Other items: * platform checker � N)�F)�is_numpy_dev�np_array_datetime64_compat�np_datetime64_compat�np_version_under1p18�np_version_under1p19�np_version_under1p20)�pa_version_under1p0�pa_version_under2p0�pa_version_under3p0�pa_version_under4p0)� � )r � )r � �PyPyl )�f�name�returnc C s$ || _ |j � d|� �| _|j| _| S )z< Bind the name/qualname attributes of the function. �.)�__name__�__qualname__� __module__)r r �cls� r �L/home/digitalm-up/venv/lib/python3.7/site-packages/pandas/compat/__init__.py�set_function_name% s r )r c C s t jdkS )z� Checking if the running platform is little endian. Returns ------- bool True if the running platform is little endian. �little)�sys� byteorderr r r r �is_platform_little_endian/ s r c C s t jdkS )z� Checking if the running platform is windows. Returns ------- bool True if the running platform is windows. )�win32�cygwin)r �platformr r r r �is_platform_windows; s r$ c C s t jdkS )z� Checking if the running platform is linux. Returns ------- bool True if the running platform is linux. �linux)r r# r r r r �is_platform_linuxG s r&