Skip to content

Commit 3a35e7b

Browse files
committed
Merge branch 'between-time-axis' of https://github.com/yrhooke/pandas into between-time-axis
2 parents bcf7e73 + 93b49e1 commit 3a35e7b

File tree

211 files changed

+10231
-7193
lines changed

Some content is hidden

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

211 files changed

+10231
-7193
lines changed

ci/appveyor-27.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ dependencies:
2424
- xlsxwriter
2525
- xlwt
2626
# universal
27-
- cython
27+
- cython>=0.28.2
2828
- pytest
2929
- pytest-xdist
3030
- moto

ci/appveyor-36.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ dependencies:
2222
- xlsxwriter
2323
- xlwt
2424
# universal
25-
- cython
25+
- cython>=0.28.2
2626
- pytest
2727
- pytest-xdist

ci/circle-27-compat.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ channels:
44
- conda-forge
55
dependencies:
66
- bottleneck=1.0.0
7-
- cython=0.24
7+
- cython=0.28.2
88
- jinja2=2.8
99
- numexpr=2.4.4 # we test that we correctly don't use an unsupported numexpr
1010
- numpy=1.9.2

ci/circle-35-ascii.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: pandas
22
channels:
33
- defaults
44
dependencies:
5-
- cython
5+
- cython>=0.28.2
66
- nomkl
77
- numpy
88
- python-dateutil

ci/circle-36-locale.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ channels:
44
- conda-forge
55
dependencies:
66
- beautifulsoup4
7-
- cython
7+
- cython>=0.28.2
88
- html5lib
99
- ipython
1010
- jinja2

ci/circle-36-locale_slow.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ channels:
44
- conda-forge
55
dependencies:
66
- beautifulsoup4
7-
- cython
7+
- cython>=0.28.2
88
- gcsfs
99
- html5lib
1010
- ipython

ci/environment-dev.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ channels:
33
- defaults
44
- conda-forge
55
dependencies:
6-
- Cython
6+
- Cython>=0.28.2
77
- NumPy
88
- flake8
99
- moto

ci/travis-27-locale.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ channels:
44
- conda-forge
55
dependencies:
66
- bottleneck=1.0.0
7-
- cython=0.24
7+
- cython=0.28.2
88
- lxml
99
- matplotlib=1.4.3
1010
- numpy=1.9.2

ci/travis-27.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ channels:
55
dependencies:
66
- beautifulsoup4
77
- bottleneck
8-
- cython=0.24
8+
- cython=0.28.2
99
- fastparquet
1010
- feather-format
1111
- flake8=3.4.1

ci/travis-35-osx.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ channels:
44
dependencies:
55
- beautifulsoup4
66
- bottleneck
7-
- cython
7+
- cython>=0.28.2
88
- html5lib
99
- jinja2
1010
- lxml

ci/travis-36-doc.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ channels:
66
dependencies:
77
- beautifulsoup4
88
- bottleneck
9-
- cython
9+
- cython>=0.28.2
1010
- fastparquet
1111
- feather-format
1212
- html5lib

ci/travis-36-numpydev.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ channels:
44
dependencies:
55
- python=3.6*
66
- pytz
7-
- Cython
7+
- Cython>=0.28.2
88
# universal
99
- pytest
1010
- pytest-xdist

ci/travis-36-slow.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ channels:
44
- conda-forge
55
dependencies:
66
- beautifulsoup4
7-
- cython
7+
- cython>=0.28.2
88
- html5lib
99
- lxml
1010
- matplotlib

ci/travis-36.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ channels:
44
- conda-forge
55
dependencies:
66
- beautifulsoup4
7-
- cython
7+
- cython>=0.28.2
88
- dask
99
- fastparquet
1010
- feather-format

ci/travis-37.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ channels:
55
- c3i_test
66
dependencies:
77
- python=3.7
8-
- cython
8+
- cython>=0.28.2
99
- numpy
1010
- python-dateutil
1111
- nomkl

conda.recipe/meta.yaml

+7-4
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,19 @@ source:
1212

1313
requirements:
1414
build:
15+
- {{ compiler('c') }}
16+
- {{ compiler('cxx') }}
17+
host:
1518
- python
19+
- pip
1620
- cython
17-
- numpy 1.11.*
21+
- numpy
1822
- setuptools >=3.3
1923
- python-dateutil >=2.5.0
2024
- pytz
21-
2225
run:
23-
- python
24-
- numpy >=1.11.*
26+
- python {{ python }}
27+
- {{ pin_compatible('numpy') }}
2528
- python-dateutil >=2.5.0
2629
- pytz
2730

doc/source/api.rst

-1
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,6 @@ Computations / Descriptive Stats
435435
Series.value_counts
436436
Series.compound
437437
Series.nonzero
438-
Series.ptp
439438

440439

441440
Reindexing / Selection / Label manipulation

doc/source/basics.rst

+18-5
Original file line numberDiff line numberDiff line change
@@ -1924,11 +1924,24 @@ untouched. If the data is modified, it is because you did so explicitly.
19241924
dtypes
19251925
------
19261926

1927-
The main types stored in pandas objects are ``float``, ``int``, ``bool``,
1928-
``datetime64[ns]`` and ``datetime64[ns, tz]``, ``timedelta[ns]``,
1929-
``category`` and ``object``. In addition these dtypes have item sizes, e.g.
1930-
``int64`` and ``int32``. See :ref:`Series with TZ <timeseries.timezone_series>`
1931-
for more detail on ``datetime64[ns, tz]`` dtypes.
1927+
For the most part, pandas uses NumPy arrays and dtypes for Series or individual
1928+
columns of a DataFrame. The main types allowed in pandas objects are ``float``,
1929+
``int``, ``bool``, and ``datetime64[ns]`` (note that NumPy does not support
1930+
timezone-aware datetimes).
1931+
1932+
In addition to NumPy's types, pandas :ref:`extends <extending.extension-types>`
1933+
NumPy's type-system for a few cases.
1934+
1935+
* :ref:`Categorical <categorical>`
1936+
* :ref:`Datetime with Timezone <timeseries.timezone_series>`
1937+
* :ref:`Period <timeseries.periods>`
1938+
* :ref:`Interval <advanced.indexing.intervallindex>`
1939+
1940+
Pandas uses the ``object`` dtype for storing strings.
1941+
1942+
Finally, arbitrary objects may be stored using the ``object`` dtype, but should
1943+
be avoided to the extent possible (for performance and interoperability with
1944+
other libraries and methods. See :ref:`basics.object_conversion`).
19321945

19331946
A convenient :attr:`~DataFrame.dtypes` attribute for DataFrame returns a Series
19341947
with the data type of each column.

0 commit comments

Comments
 (0)