
GITHUB . COM {
}
Detected CMS Systems:
- Wordpress (2 occurrences)
Title:
BUG: loc.setitem casting dtype to float with all false Indexer and rhs is an empty list Β· Issue #45981 Β· 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 df ...
Website Age:
17 years and 8 months (reg. 2007-10-09).
Matching Content Categories {π}
- Technology & Computing
- Video & Online Content
- Social Networks
Content Management System {π}
What CMS is github.com built with?
Github.com utilizes 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, false, indexing, simonjayhawkins, sign, empty, dflocfalse, milestone, andjhall, projects, locsetitem, indexer, phofl, pddataframea, member, commented, shape, navigation, pull, requests, actions, security, casting, dtype, float, rhs, list, closed, description, version, confirmed, exists, main, added, triage, reviewed, team, related, seriesframes, indexes, removed, contributions, michaeltiemannosc, contributor, unbearable, assignment, raises, mroeschke,
Topics {βοΈ}
simonjayhawkins edits member personal information bug setitem casting dtype setitem modifying values simonjayhawkins removed latest version projects milestone bug exists triage issue type projects indexing result df = pd time raises mroeschke removed github milestone relationships pandas false indexer series/frames unbearable floatness unbearable lightness datetime column bug issue main branch indexing loc[[false shape mismatch assignment df false]] = [] false] loc main type shape sign skip jump float rhs checked reported confirmed reproducible dataframe reviewed indexes contributions nullability
Payment Methods {π}
- Braintree
Questions {β}
- Already have an account?
Schema {πΊοΈ}
DiscussionForumPosting:
context:https://schema.org
headline:BUG: loc.setitem casting dtype to float with all false Indexer and rhs is an empty list
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.
- [X] I have confirmed this bug exists on the main branch of pandas.
### Reproducible Example
```python
df = pd.DataFrame({"a": [1, 2]})
df.loc[[False, False]] = []
```
This also happens for multi block DataFrames
```
df = pd.DataFrame({"a": [1, 2], "b": "a"})
df.loc[[False, False], "a"] = []
```
### Issue Description
```
a
0 1.0
1 2.0
```
### Expected Behavior
```
a
0 1
1 2
```
### Installed Versions
<details>
INSTALLED VERSIONS
------------------
commit : 68f763e7533e29aff51d9e8596ba178621a8adf6
python : 3.8.12.final.0
python-bits : 64
OS : Linux
OS-release : 5.13.0-28-generic
Version : #31~20.04.1-Ubuntu SMP Wed Jan 19 14:08:10 UTC 2022
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.5.0.dev0+348.g68f763e753
numpy : 1.22.0
pytz : 2021.1
dateutil : 2.8.2
pip : 21.3.1
setuptools : 59.8.0
Cython : 0.29.24
pytest : 6.2.5
hypothesis : 6.23.1
sphinx : 4.2.0
blosc : None
feather : None
xlsxwriter : 3.0.1
lxml.etree : 4.6.3
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : 3.0.1
IPython : 7.28.0
pandas_datareader: None
bs4 : 4.10.0
bottleneck : 1.3.2
fastparquet : 0.7.1
fsspec : 2021.11.0
gcsfs : 2021.05.0
matplotlib : 3.4.3
numba : 0.53.1
numexpr : 2.7.3
odfpy : None
openpyxl : 3.0.9
pandas_gbq : None
pyarrow : 3.0.0
pyreadstat : 1.1.2
pyxlsb : None
s3fs : 2021.11.0
scipy : 1.7.2
sqlalchemy : 1.4.25
tables : 3.6.1
tabulate : 0.8.9
xarray : 0.18.0
xlrd : 2.0.1
xlwt : 1.3.0
zstandard : None
None
Process finished with exit code 0
</details>
author:
url:https://github.com/phofl
type:Person
name:phofl
datePublished:2022-02-14T11:12:38.000Z
interactionStatistic:
type:InteractionCounter
interactionType:https://schema.org/CommentAction
userInteractionCount:3
url:https://github.com/45981/pandas/issues/45981
context:https://schema.org
headline:BUG: loc.setitem casting dtype to float with all false Indexer and rhs is an empty list
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.
- [X] I have confirmed this bug exists on the main branch of pandas.
### Reproducible Example
```python
df = pd.DataFrame({"a": [1, 2]})
df.loc[[False, False]] = []
```
This also happens for multi block DataFrames
```
df = pd.DataFrame({"a": [1, 2], "b": "a"})
df.loc[[False, False], "a"] = []
```
### Issue Description
```
a
0 1.0
1 2.0
```
### Expected Behavior
```
a
0 1
1 2
```
### Installed Versions
<details>
INSTALLED VERSIONS
------------------
commit : 68f763e7533e29aff51d9e8596ba178621a8adf6
python : 3.8.12.final.0
python-bits : 64
OS : Linux
OS-release : 5.13.0-28-generic
Version : #31~20.04.1-Ubuntu SMP Wed Jan 19 14:08:10 UTC 2022
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.5.0.dev0+348.g68f763e753
numpy : 1.22.0
pytz : 2021.1
dateutil : 2.8.2
pip : 21.3.1
setuptools : 59.8.0
Cython : 0.29.24
pytest : 6.2.5
hypothesis : 6.23.1
sphinx : 4.2.0
blosc : None
feather : None
xlsxwriter : 3.0.1
lxml.etree : 4.6.3
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : 3.0.1
IPython : 7.28.0
pandas_datareader: None
bs4 : 4.10.0
bottleneck : 1.3.2
fastparquet : 0.7.1
fsspec : 2021.11.0
gcsfs : 2021.05.0
matplotlib : 3.4.3
numba : 0.53.1
numexpr : 2.7.3
odfpy : None
openpyxl : 3.0.9
pandas_gbq : None
pyarrow : 3.0.0
pyreadstat : 1.1.2
pyxlsb : None
s3fs : 2021.11.0
scipy : 1.7.2
sqlalchemy : 1.4.25
tables : 3.6.1
tabulate : 0.8.9
xarray : 0.18.0
xlrd : 2.0.1
xlwt : 1.3.0
zstandard : None
None
Process finished with exit code 0
</details>
author:
url:https://github.com/phofl
type:Person
name:phofl
datePublished:2022-02-14T11:12:38.000Z
interactionStatistic:
type:InteractionCounter
interactionType:https://schema.org/CommentAction
userInteractionCount:3
url:https://github.com/45981/pandas/issues/45981
Person:
url:https://github.com/phofl
name:phofl
url:https://github.com/phofl
name:phofl
InteractionCounter:
interactionType:https://schema.org/CommentAction
userInteractionCount:3
interactionType:https://schema.org/CommentAction
userInteractionCount:3
External Links {π}(3)
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