Skip to content

Commit 2beb1b4

Browse files
jschendeljreback
authored andcommitted
CLN: Remove __future__ imports (#25889)
1 parent 95c78d6 commit 2beb1b4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+0
-150
lines changed

doc/sphinxext/announce.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@
3333
$ ./scripts/announce.py $GITHUB v1.11.0..v1.11.1 > announce.rst
3434
3535
"""
36-
from __future__ import division, print_function
37-
3836
import codecs
3937
import os
4038
import re

pandas/core/algorithms.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
Generic data algorithms. This module is experimental at the moment and not
33
intended for public consumption
44
"""
5-
from __future__ import division
6-
75
from textwrap import dedent
86
from warnings import catch_warnings, simplefilter, warn
97

pandas/core/arrays/sparse.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
"""
22
SparseArray data structure
33
"""
4-
from __future__ import division
5-
64
import numbers
75
import operator
86
import re

pandas/core/arrays/timedeltas.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
from __future__ import division
3-
42
from datetime import timedelta
53
import textwrap
64
import warnings

pandas/core/frame.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
alignment and a host of useful data manipulation methods having to do with the
1111
labeling information
1212
"""
13-
from __future__ import division
14-
1513
import collections
1614
from collections import OrderedDict
1715
import functools

pandas/core/indexes/datetimes.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
# pylint: disable=E1101
2-
from __future__ import division
3-
42
from datetime import datetime, time, timedelta
53
import operator
64
import warnings

pandas/core/ops.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
44
This is not a public API.
55
"""
6-
# necessary to enforce truediv in Python 2.X
7-
from __future__ import division
8-
96
import datetime
107
import operator
118
import textwrap

pandas/core/panel.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
Contains data structures designed for manipulating panel (3-dimensional) data
33
"""
44
# pylint: disable=E1103,W0231,W0212,W0621
5-
from __future__ import division
6-
75
from collections import OrderedDict
86
import warnings
97

pandas/core/series.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
"""
22
Data structure for 1-dimensional cross-sectional and time series data
33
"""
4-
from __future__ import division
5-
64
from collections import OrderedDict
75
from textwrap import dedent
86
import warnings

pandas/core/sparse/frame.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
Data structures for sparse float data. Life is made simpler by dealing only
33
with float64 data
44
"""
5-
from __future__ import division
6-
75
import warnings
86

97
import numpy as np

0 commit comments

Comments
 (0)