Skip to content

Commit 1915b6a

Browse files
committed
pandas._window -> pandas.core.libwindow
1 parent 4a3c31b commit 1915b6a

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

doc/source/whatsnew/v0.20.0.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,8 @@ If indicated, a deprecation warning will be issued if you reference that module.
469469
"pandas.index", "pandas.libs.index", ""
470470
"pandas.algos", "pandas.libs.algos", ""
471471
"pandas.lib", "pandas.libs.lib", "X"
472-
"pandas.hastable", "pandas.libs.hashtable", ""
472+
"pandas.hashtable", "pandas.libs.hashtable", ""
473+
"pandas._window", "pandas.core.libwindow", ""
473474

474475

475476
.. _whatsnew_0200.api_breaking.groupby_describe:

pandas/core/window.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
from pandas.core.base import (PandasObject, SelectionMixin,
3131
GroupByMixin)
3232
import pandas.core.common as com
33-
import pandas._window as _window
33+
import pandas.core.libwindow as _window
3434
from pandas.tseries.offsets import DateOffset
3535
from pandas import compat
3636
from pandas.compat.numpy import function as nv

pandas/window.pyx renamed to pandas/core/window.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ from util cimport numeric
5858

5959
from skiplist cimport *
6060

61-
cdef extern from "src/headers/math.h":
61+
cdef extern from "../src/headers/math.h":
6262
double sqrt(double x) nogil
6363
int signbit(double) nogil
6464

setup.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -331,13 +331,13 @@ class CheckSDist(sdist_class):
331331
'pandas/libs/tslib.pyx',
332332
'pandas/libs/index.pyx',
333333
'pandas/libs/algos.pyx',
334+
'pandas/core/window.pyx',
334335
'pandas/join.pyx',
335-
'pandas/window.pyx',
336-
'pandas/io/parsers.pyx',
337336
'pandas/src/period.pyx',
338337
'pandas/sparse/sparse.pyx',
339338
'pandas/util/testing.pyx',
340339
'pandas/tools/hash.pyx',
340+
'pandas/io/parsers.pyx',
341341
'pandas/io/sas/sas.pyx']
342342

343343
def initialize_options(self):
@@ -499,10 +499,10 @@ def pxd(name):
499499
'_join': {'pyxfile': 'src/join',
500500
'pxdfiles': ['src/util', 'libs/hashtable'],
501501
'depends': _pxi_dep['join']},
502-
'_window': {'pyxfile': 'window',
503-
'pxdfiles': ['src/skiplist', 'src/util'],
504-
'depends': ['pandas/src/skiplist.pyx',
505-
'pandas/src/skiplist.h']},
502+
'core.libwindow': {'pyxfile': 'core/window',
503+
'pxdfiles': ['src/skiplist', 'src/util'],
504+
'depends': ['pandas/src/skiplist.pyx',
505+
'pandas/src/skiplist.h']},
506506
'io.libparsers': {'pyxfile': 'io/parsers',
507507
'depends': ['pandas/src/parser/tokenizer.h',
508508
'pandas/src/parser/io.h',

0 commit comments

Comments
 (0)