An open API service indexing awesome lists of open source software.

https://github.com/ejw-data/python-bitwise-operators

Difference between bitwise and logical operators when using pandas
https://github.com/ejw-data/python-bitwise-operators

numpy pandas

Last synced: 4 months ago
JSON representation

Difference between bitwise and logical operators when using pandas

Awesome Lists containing this project

README

          

# python-bitwise-operations

Auhtor: Erin James Wills, ejw.data@gmail.com

![Bitwise Operations](./images/py-bitwise.png)


## Overview


> Occasionally I am asked during the bootcamp to explain the difference between bitwise and logical operators when using pandas. I created this repo to have handy so I can provide some examples more quickly.


## Content
* `initial_example`: Contains a simple function to show the bit representation of an integer. Several examples are provided to illustrate Pythons use of logical operators and how these are affected by using pandas series.


## Status
* This is a work-in-progress.


## Technologies
* Python


## Data Source
Not applicable


## Setup and Installation
1. Environment needs the following:
* Python 3.6+
* pandas
* numpy
1. Activate your environment
1. Clone the repo to your local machine
1. Navigate the terminal to the repo folder
1. Run `python initial_example.ipynb`