| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Python312/Lib/site-packages/pandas/tests/io/parser/__pycache__/ |
Upload File : |
�
0 �g � �N � d Z ddlmZ ddlmZ ddlZddlZddlZ ddlm
Z
mZ ddlm
Z d� Zej j# ddd g� ej j# d
ed� g� d� � � Zd
� Zd� Zd� Zej j# dd� eg� d� � Zd� Zd� Zy)zc
Tests column conversion functionality during parsing
for all of the parsers defined in parsers.py
� )�StringIO)�parseN)� DataFrame�Indexc �` � | }d}|j dk( rCd}t j t |�� 5 |j t |� d�� d d d � y t j t d�� 5 |j t |� d�� d d d � y # 1 sw Y y xY w# 1 sw Y y xY w)Nzindex,A,B,C,D
foo,2,3,4,5
�pyarrow�BThe 'converters' option is not supported with the 'pyarrow' engine��matchr ��
converterszType converters.+)�engine�pytest�raises�
ValueError�read_csvr � TypeError)�all_parsers�parser�data�msgs �HC:\Python312\Lib\site-packages\pandas/tests/io/parser/test_converters.py�!test_converters_type_must_be_dictr s� � �
�F��D� �}�}� �!�R��
�]�]�:�S�
1� :��O�O�H�T�N�q�O�9� :�� ���y�(;� <� 6�������1��5�6� 6� :���6� 6�s �B�2B$�B!�$B-�column� �D� converterc �<