
GITHUB . COM {
}
Detected CMS Systems:
- Wordpress (2 occurrences)
Title:
BUG: Incorrect IntervalIndex.is_overlapping Β· Issue #49581 Β· pandas-dev/pandas
Description:
Pandas version checks I have checked that this issue has not already been reported. I have confirmed this bug exists on the latest version of pandas. I have confirmed this bug exists on the main branch of pandas. Reproducible Example imp...
Website Age:
17 years and 8 months (reg. 2007-10-09).
Matching Content Categories {π}
- Technology & Computing
- Dating & Relationships
- Personal Finance
Content Management System {π}
What CMS is github.com built with?
Github.com operates using WORDPRESS.
Traffic Estimate {π}
What is the average monthly size of github.com audience?
ππ Tremendous Traffic: 10M - 20M visitors per month
Based on our best estimate, this website will receive around 10,000,019 visitors per month in the current month.
However, some sources were not loaded, we suggest to reload the page to get complete results.
check SE Ranking
check Ahrefs
check Similarweb
check Ubersuggest
check Semrush
How Does Github.com Make Money? {πΈ}
Subscription Packages {π³}
We've located a dedicated page on github.com that might include details about subscription plans or recurring payments. We identified it based on the word pricing in one of its internal links. Below, you'll find additional estimates for its monthly recurring revenues.How Much Does Github.com Make? {π°}
Subscription Packages {π³}
Prices on github.com are in US Dollars ($).
They range from $4.00/month to $21.00/month.
We estimate that the site has approximately 4,989,889 paying customers.
The estimated monthly recurring revenue (MRR) is $20,957,532.
The estimated annual recurring revenues (ARR) are $251,490,385.
Wordpress Themes and Plugins {π¨}
What WordPress theme does this site use?
It is strange but we were not able to detect any theme on the page.
What WordPress plugins does this website use?
It is strange but we were not able to detect any plugins on the page.
Keywords {π}
bug, issue, pandas, hikipeko, incorrect, overlapping, false, idx, pdintervalindexfromarraysa, printidxisoverlapping, prints, intervals, commented, main, true, slowmo, sign, intervalindexisoverlapping, version, return, current, open, pull, requests, projects, closed, member, doesnt, empty, intervalindex, jbrockmendel, dataframe, longer, navigation, actions, security, description, opened, confirmed, exists, branch, import, region, returns, behavior, correct, triage, reviewed, team, contributor,
Topics {βοΈ}
hikipeko edits contributor small issue worthy personal information bug hikipeko mentioned returning incorrect values single empty interval is_overlapping returned false type projects slowmo24 mentioned overlapping index import pandas projects milestone return false correct behavior github triage issue similar issue issue persists latest version empty set bug exists bug report return true open overlapping intervals pandas idx_3 = pd idx_2 = pd similar pd element removed longer worked length intervals timedelta + timedelta longer working dropping element looked deeper milestone relationships main branch overlapping region closed idx_1 = pd returns incorrectly bins=idx_1 fact fixed current main incorrect intervalindex issue version 1 bug left
Payment Methods {π}
- Braintree
Questions {β}
- Already have an account?
- When you say "no longer working" do you mean the bug is fixed on main?
Schema {πΊοΈ}
DiscussionForumPosting:
context:https://schema.org
headline:BUG: Incorrect IntervalIndex.is_overlapping
articleBody:### Pandas version checks
- [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [ ] I have confirmed this bug exists on the main branch of pandas.
### Reproducible Example
```python
import pandas as pd
a = [ 10, 15, 20, 25, 30, 35, 40, 45, 45, 50, 55, 60, 65, 70, 75, 80, 85 ]
b = [ 15, 20, 25, 30, 35, 40, 45, 45, 50, 55, 60, 65, 70, 75, 80, 85, 90 ]
# ^^^^^^^^^^ (overlapping region)
idx_1 = pd.IntervalIndex.from_arrays(a, b)
print(idx_1.is_overlapping)
# prints True
idx_2 = pd.IntervalIndex.from_arrays(a[1:], b[1:])
print(idx_2.is_overlapping)
# prints False (INCORRECT)
idx_3 = pd.IntervalIndex.from_arrays(a[:-1], b[:-1])
print(idx_3.is_overlapping)
# prints False (INCORRECT)
```
### Issue Description
`IntervalIndex.is_overlapping` is returning incorrect values.
Notice how for the full `a`/`b` arrays it returns that there are overlapping intervals (they are in the middle), but if you remove the first/last pair (`[1:], [-1:]`), it returns incorrectly that there are no overlapping intervals.
### Expected Behavior
Correct value
### Installed Versions
<details>
commit : 91111fd99898d9dcaa6bf6bedb662db4108da6e6
python : 3.10.8.final.0
python-bits : 64
OS : Windows
OS-release : 10
pandas : 1.5.1
numpy : 1.23.4
pytz : 2022.5
dateutil : 2.8.2
setuptools : 65.5.0
pip : 22.3
Cython : 0.29.32
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.9.1
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 3.1.2
IPython : 8.5.0
pandas_datareader: None
bs4 : 4.11.1
bottleneck : None
brotli : 1.0.9
fastparquet : 0.8.3
fsspec : 2022.10.0
gcsfs : None
matplotlib : 3.6.1
numba : 0.56.3
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 10.0.0
pyreadstat : None
pyxlsb : None
s3fs : None
scipy : 1.9.3
snappy :
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
zstandard : 0.19.0
tzdata : 2022.5
</details>
author:
url:https://github.com/2-5
type:Person
name:2-5
datePublished:2022-11-08T14:33:50.000Z
interactionStatistic:
type:InteractionCounter
interactionType:https://schema.org/CommentAction
userInteractionCount:6
url:https://github.com/49581/pandas/issues/49581
context:https://schema.org
headline:BUG: Incorrect IntervalIndex.is_overlapping
articleBody:### Pandas version checks
- [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [ ] I have confirmed this bug exists on the main branch of pandas.
### Reproducible Example
```python
import pandas as pd
a = [ 10, 15, 20, 25, 30, 35, 40, 45, 45, 50, 55, 60, 65, 70, 75, 80, 85 ]
b = [ 15, 20, 25, 30, 35, 40, 45, 45, 50, 55, 60, 65, 70, 75, 80, 85, 90 ]
# ^^^^^^^^^^ (overlapping region)
idx_1 = pd.IntervalIndex.from_arrays(a, b)
print(idx_1.is_overlapping)
# prints True
idx_2 = pd.IntervalIndex.from_arrays(a[1:], b[1:])
print(idx_2.is_overlapping)
# prints False (INCORRECT)
idx_3 = pd.IntervalIndex.from_arrays(a[:-1], b[:-1])
print(idx_3.is_overlapping)
# prints False (INCORRECT)
```
### Issue Description
`IntervalIndex.is_overlapping` is returning incorrect values.
Notice how for the full `a`/`b` arrays it returns that there are overlapping intervals (they are in the middle), but if you remove the first/last pair (`[1:], [-1:]`), it returns incorrectly that there are no overlapping intervals.
### Expected Behavior
Correct value
### Installed Versions
<details>
commit : 91111fd99898d9dcaa6bf6bedb662db4108da6e6
python : 3.10.8.final.0
python-bits : 64
OS : Windows
OS-release : 10
pandas : 1.5.1
numpy : 1.23.4
pytz : 2022.5
dateutil : 2.8.2
setuptools : 65.5.0
pip : 22.3
Cython : 0.29.32
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.9.1
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 3.1.2
IPython : 8.5.0
pandas_datareader: None
bs4 : 4.11.1
bottleneck : None
brotli : 1.0.9
fastparquet : 0.8.3
fsspec : 2022.10.0
gcsfs : None
matplotlib : 3.6.1
numba : 0.56.3
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 10.0.0
pyreadstat : None
pyxlsb : None
s3fs : None
scipy : 1.9.3
snappy :
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
zstandard : 0.19.0
tzdata : 2022.5
</details>
author:
url:https://github.com/2-5
type:Person
name:2-5
datePublished:2022-11-08T14:33:50.000Z
interactionStatistic:
type:InteractionCounter
interactionType:https://schema.org/CommentAction
userInteractionCount:6
url:https://github.com/49581/pandas/issues/49581
Person:
url:https://github.com/2-5
name:2-5
url:https://github.com/2-5
name:2-5
InteractionCounter:
interactionType:https://schema.org/CommentAction
userInteractionCount:6
interactionType:https://schema.org/CommentAction
userInteractionCount:6
External Links {π}(4)
Analytics and Tracking {π}
- Site Verification - Google
Libraries {π}
- Clipboard.js
- D3.js
- Lodash
Emails and Hosting {βοΈ}
Mail Servers:
- aspmx.l.google.com
- alt1.aspmx.l.google.com
- alt2.aspmx.l.google.com
- alt3.aspmx.l.google.com
- alt4.aspmx.l.google.com
Name Servers:
- dns1.p08.nsone.net
- dns2.p08.nsone.net
- dns3.p08.nsone.net
- dns4.p08.nsone.net
- ns-1283.awsdns-32.org
- ns-1707.awsdns-21.co.uk
- ns-421.awsdns-52.com
- ns-520.awsdns-01.net