Skip to content

Commit 86e8f23

Browse files
jbrockmendeljreback
authored andcommitted
remove last cython: nprofile comments (pandas-dev#22371)
1 parent 70e6f7c commit 86e8f23

31 files changed

+9
-31
lines changed

pandas/_libs/algos.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# cython: profile=False
1+
# -*- coding: utf-8 -*-
22

33
cimport cython
44
from cython cimport Py_ssize_t

pandas/_libs/groupby.pyx

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
# cython: profile=False
32

43
cimport cython
54
from cython cimport Py_ssize_t

pandas/_libs/hashing.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# cython: profile=False
1+
# -*- coding: utf-8 -*-
22
# Translated from the reference implementation
33
# at https://github.com/veorq/SipHash
44

pandas/_libs/hashtable.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# cython: profile=False
1+
# -*- coding: utf-8 -*-
22

33
cimport cython
44

pandas/_libs/index.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# cython: profile=False
1+
# -*- coding: utf-8 -*-
22
from datetime import datetime, timedelta, date
33

44
cimport cython

pandas/_libs/indexing.pyx

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# cython: profile=False
1+
# -*- coding: utf-8 -*-
2+
23

34
cdef class _NDFrameIndexerBase:
45
"""

pandas/_libs/join.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# cython: profile=False
1+
# -*- coding: utf-8 -*-
22

33
cimport cython
44
from cython cimport Py_ssize_t

pandas/_libs/khash.pxd

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
# cython: profile=False
32
from cpython cimport PyObject
43
from numpy cimport int64_t, uint64_t, int32_t, uint32_t, float64_t
54

pandas/_libs/missing.pxd

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
# cython: profile=False
32

43
from tslibs.nattype cimport is_null_datetimelike
54

pandas/_libs/missing.pyx

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
# cython: profile=False
32

43
from cpython cimport PyFloat_Check, PyComplex_Check
54

pandas/_libs/reduction.pyx

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
# cython: profile=False
32
from distutils.version import LooseVersion
43

54
from cython cimport Py_ssize_t

pandas/_libs/reshape.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# cython: profile=False
1+
# -*- coding: utf-8 -*-
22

33
cimport cython
44
from cython cimport Py_ssize_t

pandas/_libs/skiplist.pxd

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
# cython: profile=False
32

43
from cython cimport Py_ssize_t
54

pandas/_libs/tslib.pyx

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
# cython: profile=False
32
from cython cimport Py_ssize_t
43

54
from cpython cimport PyFloat_Check, PyUnicode_Check

pandas/_libs/tslibs/ccalendar.pxd

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
# cython: profile=False
32

43
from cython cimport Py_ssize_t
54

pandas/_libs/tslibs/ccalendar.pyx

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
# cython: profile=False
32
# cython: boundscheck=False
43
"""
54
Cython implementations of functions resembling the stdlib calendar module

pandas/_libs/tslibs/conversion.pxd

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
# cython: profile=False
32

43
from cpython.datetime cimport datetime, tzinfo
54

pandas/_libs/tslibs/conversion.pyx

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
# cython: profile=False
32

43
cimport cython
54
from cython cimport Py_ssize_t

pandas/_libs/tslibs/fields.pyx

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
# cython: profile=False
32
"""
43
Functions for accessing attributes of Timestamp/datetime64/datetime-like
54
objects and arrays

pandas/_libs/tslibs/frequencies.pxd

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
# cython: profile=False
32

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

pandas/_libs/tslibs/nattype.pxd

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
# cython: profile=False
32

43
from numpy cimport int64_t
54
cdef int64_t NPY_NAT

pandas/_libs/tslibs/nattype.pyx

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
# cython: profile=False
32

43
from cpython cimport (
54
PyFloat_Check, PyComplex_Check,

pandas/_libs/tslibs/np_datetime.pxd

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
# cython: profile=False
32

43
from cpython.datetime cimport date, datetime
54

pandas/_libs/tslibs/np_datetime.pyx

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
# cython: profile=False
32

43
from cpython cimport (Py_EQ, Py_NE, Py_GE, Py_GT, Py_LT, Py_LE,
54
PyUnicode_Check, PyUnicode_AsASCIIString)

pandas/_libs/tslibs/timedeltas.pxd

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
# cython: profile=False
32

43
from numpy cimport int64_t
54

pandas/_libs/tslibs/timedeltas.pyx

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
# cython: profile=False
32
import collections
43
import textwrap
54
import warnings

pandas/_libs/tslibs/timestamps.pxd

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
# cython: profile=False
32

43
from numpy cimport int64_t
54
from np_datetime cimport npy_datetimestruct

pandas/_libs/tslibs/timestamps.pyx

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
# cython: profile=False
32
import warnings
43

54
from cpython cimport (PyObject_RichCompareBool, PyObject_RichCompare,

pandas/_libs/tslibs/timezones.pxd

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
# cython: profile=False
32

43
cdef bint is_utc(object tz)
54
cdef bint is_tzlocal(object tz)

pandas/_libs/tslibs/timezones.pyx

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
# cython: profile=False
32

43
from cython cimport Py_ssize_t
54

pandas/_libs/window.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# cython: profile=False
1+
# -*- coding: utf-8 -*-
22
# cython: boundscheck=False, wraparound=False, cdivision=True
33

44
cimport cython

0 commit comments

Comments
 (0)