mirror of
https://github.com/apache/arrow.git
synced 2026-10-28 16:47:19 +08:00
Warning: hold your nose for this one =) I think this can be made cleaner, but I just wanted to triage all the problems and make sure we don't introduce a hard dependency on pandas again Also resolves ARROW-4794: make pandas an optional dependency Author: Wes McKinney <wesm+git@apache.org> Closes #3893 from wesm/ARROW-4637 and squashes the following commits:3c353b6b<Wes McKinney> do not override orc global mark in test_orc.py59fdf8ab<Wes McKinney> Tweak pyarrow._orc import to see if it fixes MSVC747c8937<Wes McKinney> Address Python 2.7 unicode interaction issue with Cython4d94b2e1<Wes McKinney> Add benchmark from ARROW-4629f7bf7741<Wes McKinney> Cythonize pandas API shim for better performance4a2549aa<Wes McKinney> Remove TF testing from travis_script_manylinux1.sh5061c6e1<Wes McKinney> Do not require pandas to run unit tests385cfe55<Wes McKinney> Finish pandas API shim; do not eagerly import pandas, add to CI804587a0<Wes McKinney> add import test scriptbb0240e2<Wes McKinney> Begin to refactor to make references to pandas more centralized and lazy
22 lines
862 B
Python
22 lines
862 B
Python
# Licensed to the Apache Software Foundation (ASF) under one
|
|
# or more contributor license agreements. See the NOTICE file
|
|
# distributed with this work for additional information
|
|
# regarding copyright ownership. The ASF licenses this file
|
|
# to you under the Apache License, Version 2.0 (the
|
|
# "License"); you may not use this file except in compliance
|
|
# with the License. You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing,
|
|
# software distributed under the License is distributed on an
|
|
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
# KIND, either express or implied. See the License for the
|
|
# specific language governing permissions and limitations
|
|
# under the License.
|
|
|
|
import pyarrow as pa # noqa
|
|
import sys
|
|
|
|
assert 'pandas' not in sys.modules
|