Chapter 2-Why use bitwise and with crc32
Aberta
- Linguagem predominante
- Jupyter Notebook
- Estrelas
- 30k
- Forks
- 13.1k
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
Hi,
I'm not a pro to python and I am wondering why we use bitwise and on page 52.
```python
def test_set_check(identifier, test_ratio):
return crc32(np.int64(identifier)) & 0xffffffff < test_ratio*2**32
```
could someone explain me the purpose of this?
Thank you.
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Avaliação
Esta issue ainda não foi avaliada.