ENH: suppress display.height DeprecationWarning
Merge pull request #4391 from y-p/PR_supress_disp_height_warning

ENH: suppress display.height DeprecationWarning
CLN: Newer syntax, unicode, iterator range, zip, etc

CLN: Newer syntax + iterator range, zip, etc

CLN: Use new syntax throughout

CLN: python-modernize unicode fixes

CLN: Use 'except as' throughout

CLN: Use print as function throughout

CLN: Fix print statements in vb_suite

CLN: Use new raise syntax in io/sql

CLN: Use next function rather than next method.

next and __next__ defined throughout

CLN: Modernize range + xrange.

Now range is always equivalent to 2.X xrange throughout (but need to
import range from py3compat to use it). Also remove range fixer from
setup.py.

CLN: Use Python 2/3 compatible iteritems.

Switches calls to `iteritems` method to use
`pandas.util.compat.iteritems`, which calls `iteritems` if it exists and
otherwise calls `items`.

CLN: iterkv --> iteritems

CLN: Change long literals to long function

add compat import in pandas/util/testing

CLN: Modernize bench

CLN: Modernize scripts

CLN: Modernize the rest of vb_suite

CLN: Modernize ez_setup.py

fix reverse list in tools/plotting

remove numliteral (long) fixer

CLN: Use cross-compatible map, zip
CLN: Modernize usage of map

fixup to tests/test_frame

CLN: Change filter to any in core/format

CLN: Modernize zip

CLN: Modernize zip in bench

CLN: scripts - modernize zip

CLN: Modernize zip in finance

CLN: Modernize zip pt2

CLN: More zip and other modernization

update vb suite for py2/3 compat

attempt2 to block numliteral fixes in setup.py

CLN: Fix incorrect octals in datetime setup

remove 2to3 altogether

fix error in examples/finance

CLN: Fixup exec statement in plot directive

2.6 reversed requires a known sequence to work

fix zip in tests/test_frame.py

fix zip addition issue in io/stata

fix zip issue in tests/test_groupby

CLN: Modernize doc builders

CLN: Unicode --> six.text_type

CLN: unicode --> six.text_type

CLN: basestring --> six.string_types

CLN: Use py3compat's StringIO

Py2/3 StringIO usage

basestring fixup

StringIO fixups

fixup for string type

try fixing io/stata

CLN: Use reduce from six.moves

CLN: Python 2/3 compatible sort in ez_setup

change 1 to True in doc

CLN: 2/3 fixes to util/decorators

CLN: Use compatible long in io/stata
TST/ENH: Add assert_isinstance util to util/testing + better type checking

cleanup instance checks in pandas/tests, add assert_isinstance method

and also pandas/tseries/tests, pandas/stats/tests

CLN: Modernize pandas/tests + better type checks

Use assert_isinstance + replace type(a) == b with assert_isinstance.
Some 2/3 fixes of .sort() --> sorted

Better instance tests in io/tests

CLN: assert_(isinstance --> assert_isinstace

CLN: better instance checks in scripts/

CLN: better type check in perf_HEAD

CLN: Cleanup type checks in core/config

Make is_instance_factory cleaner + basestring --> (str, bytes)

fixup for wrong isinstance change

add in some missing imports for six and tm

Fix import / cruft from fixes

CLN/ENH: Fixup to iteritems in util/compat

CLN: more .iteritems() --> compat.iteritems

Left doc with six.iteritems.

use list(range in pytables tests

last range fixes

CLN: modernize compat + remove cruft

CLN: Fix imports, etc.

Remove wildcard import from test_merge and fixup

remove unnecessary imports from io/__init__

make _WINDOW_TYPES update 2/3 compatible

CLN: Py2/3 compatible __builtin__

builtins redux
CLN/ENH: Refactor url methods to be Py2/3 compatible

CLN: Multiple 2/3 compatible imports/etc

CLN: Use py2/3 compatible pickle import

CLN: py2/3 compat unichr, callable

CLN: py2/3 compatible unichr

CLN: Py2/3: callable --> six.callable

import fixes to wrap it all together

fixup erroneous find/replace
CLN: Py2/3-compatible dict keys/items/values.

io/data urlencode fixups

more fixes

minor raw_input fix for python3

Fixup pandas.io for Py2/3

CLN: Pickle compat + other imports"

add pickle to py3compat

import cPickle from six.moves

fix missing pickle import

small fixups to pandas/core

pandas/io fixups

change text types

revert unicode change in tests/test_period

make addition tuple (removeme)

make get_filepath_or_buffer work

make the smallest io/stata change possible

updates to pandas/core
CLN/ENH: Add list versions of iterator methods.

py3compat now has lrange, lzip, lmap, lreduce and lfilter, which work
like the python builtins and produce lists (to make it more clear where
looking for iterators vs. containers).

list(range(...)) --> lrange(...)

CLN/ENH: list(map(...)) --> lmap(...)

remove extra parentheses around lrange

CLN/ENH: list(zip(...)) --> lzip(...)

Put range in py3compat namespace

fixup remove lreduce stuff

TST: Add tests for list and regular iterating builtins

Change six.moves imports --> util.py3compat

cleanups
CLN: Add __bool__ alias for __nonzero__

Python3 uses __bool__, not __nonzero__
CLN/ENH: Merge compat with py3compat and six

For simplicity, move the relevant portions of six into
compat and combine py3compat and compat together (given the distinctions
were relatively arbitrary already). Also switch to importing u to make
things cleaner.

CLN: Transition six --> compat

Simplify compat imports.

fix imports

remove threading from python 3
DOC/ENH: Deprecate iterkv + add docs
CLN: pandas.util.compat --> pandas.compat