Skip to content

Commit 9bb1353

Browse files
committed
Merge pull request #9615 from jreback/qt
DEPR: deprecate pandas.sandbox.qtpandas
2 parents 0270484 + 342151f commit 9bb1353

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

doc/source/faq.rst

+5
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,11 @@ details.
290290
Visualizing Data in Qt applications
291291
-----------------------------------
292292

293+
.. warning::
294+
295+
The ``qt`` support is **deprecated and will be removed in a future version**.
296+
We refer users to the external package `pandas-qt <https://github.com/datalyze-solutions/pandas-qt>`_.
297+
293298
There is experimental support for visualizing DataFrames in PyQt4 and PySide
294299
applications. At the moment you can display and edit the values of the cells
295300
in the DataFrame. Qt will take care of displaying just the portion of the

doc/source/whatsnew/v0.16.0.txt

+2
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,8 @@ Deprecations
384384
The documentation includes some examples how to convert your existing code
385385
using ``rplot`` to seaborn: - :ref:`rplot docs <rplot>`
386386

387+
- The ``pandas.sandbox.qtpandas`` interface is deprecated and will be removed in a future version.
388+
We refer users to the external package `pandas-qt <https://github.com/datalyze-solutions/pandas-qt>`_. (:issue:`9615`)
387389

388390
.. _whatsnew_0160.prior_deprecations:
389391

pandas/sandbox/qtpandas.py

+8
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
44
@author: Jev Kuznetsov
55
'''
6+
7+
# GH9615
8+
9+
import warnings
10+
warnings.warn("The pandas.sandbox.qtpandas module is deprecated and will be "
11+
"removed in a future version. We refer users to the external package "
12+
"here: https://github.com/datalyze-solutions/pandas-qt")
13+
614
try:
715
from PyQt4.QtCore import QAbstractTableModel, Qt, QVariant, QModelIndex
816
from PyQt4.QtGui import (

0 commit comments

Comments
 (0)