Skip to content

Commit

Permalink
remove last cython: nprofile comments (pandas-dev#22371)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrockmendel authored and jreback committed Aug 16, 2018
1 parent 70e6f7c commit 86e8f23
Show file tree
Hide file tree
Showing 31 changed files with 9 additions and 31 deletions.
2 changes: 1 addition & 1 deletion pandas/_libs/algos.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# cython: profile=False
# -*- coding: utf-8 -*-

cimport cython
from cython cimport Py_ssize_t
Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/groupby.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False

cimport cython
from cython cimport Py_ssize_t
Expand Down
2 changes: 1 addition & 1 deletion pandas/_libs/hashing.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# cython: profile=False
# -*- coding: utf-8 -*-
# Translated from the reference implementation
# at https://github.com/veorq/SipHash

Expand Down
2 changes: 1 addition & 1 deletion pandas/_libs/hashtable.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# cython: profile=False
# -*- coding: utf-8 -*-

cimport cython

Expand Down
2 changes: 1 addition & 1 deletion pandas/_libs/index.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# cython: profile=False
# -*- coding: utf-8 -*-
from datetime import datetime, timedelta, date

cimport cython
Expand Down
3 changes: 2 additions & 1 deletion pandas/_libs/indexing.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# cython: profile=False
# -*- coding: utf-8 -*-


cdef class _NDFrameIndexerBase:
"""
Expand Down
2 changes: 1 addition & 1 deletion pandas/_libs/join.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# cython: profile=False
# -*- coding: utf-8 -*-

cimport cython
from cython cimport Py_ssize_t
Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/khash.pxd
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False
from cpython cimport PyObject
from numpy cimport int64_t, uint64_t, int32_t, uint32_t, float64_t

Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/missing.pxd
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False

from tslibs.nattype cimport is_null_datetimelike

Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/missing.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False

from cpython cimport PyFloat_Check, PyComplex_Check

Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/reduction.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False
from distutils.version import LooseVersion

from cython cimport Py_ssize_t
Expand Down
2 changes: 1 addition & 1 deletion pandas/_libs/reshape.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# cython: profile=False
# -*- coding: utf-8 -*-

cimport cython
from cython cimport Py_ssize_t
Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/skiplist.pxd
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False

from cython cimport Py_ssize_t

Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/tslib.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False
from cython cimport Py_ssize_t

from cpython cimport PyFloat_Check, PyUnicode_Check
Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/tslibs/ccalendar.pxd
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False

from cython cimport Py_ssize_t

Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/tslibs/ccalendar.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False
# cython: boundscheck=False
"""
Cython implementations of functions resembling the stdlib calendar module
Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/tslibs/conversion.pxd
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False

from cpython.datetime cimport datetime, tzinfo

Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/tslibs/conversion.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False

cimport cython
from cython cimport Py_ssize_t
Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/tslibs/fields.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False
"""
Functions for accessing attributes of Timestamp/datetime64/datetime-like
objects and arrays
Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/tslibs/frequencies.pxd
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False

cpdef object get_rule_month(object source, object default=*)

Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/tslibs/nattype.pxd
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False

from numpy cimport int64_t
cdef int64_t NPY_NAT
Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/tslibs/nattype.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False

from cpython cimport (
PyFloat_Check, PyComplex_Check,
Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/tslibs/np_datetime.pxd
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False

from cpython.datetime cimport date, datetime

Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/tslibs/np_datetime.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False

from cpython cimport (Py_EQ, Py_NE, Py_GE, Py_GT, Py_LT, Py_LE,
PyUnicode_Check, PyUnicode_AsASCIIString)
Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/tslibs/timedeltas.pxd
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False

from numpy cimport int64_t

Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/tslibs/timedeltas.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False
import collections
import textwrap
import warnings
Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/tslibs/timestamps.pxd
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False

from numpy cimport int64_t
from np_datetime cimport npy_datetimestruct
Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/tslibs/timestamps.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False
import warnings

from cpython cimport (PyObject_RichCompareBool, PyObject_RichCompare,
Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/tslibs/timezones.pxd
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False

cdef bint is_utc(object tz)
cdef bint is_tzlocal(object tz)
Expand Down
1 change: 0 additions & 1 deletion pandas/_libs/tslibs/timezones.pyx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
# cython: profile=False

from cython cimport Py_ssize_t

Expand Down
2 changes: 1 addition & 1 deletion pandas/_libs/window.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# cython: profile=False
# -*- coding: utf-8 -*-
# cython: boundscheck=False, wraparound=False, cdivision=True

cimport cython
Expand Down

0 comments on commit 86e8f23

Please sign in to comment.