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
- Host: GitHub
- URL: https://github.com/ejw-data/python-bitwise-operators
- Owner: ejw-data
- Created: 2022-03-31T23:54:37.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-28T02:10:29.000Z (over 3 years ago)
- Last Synced: 2025-06-03T01:28:51.597Z (8 months ago)
- Topics: numpy, pandas
- Language: Jupyter Notebook
- Homepage:
- Size: 139 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# python-bitwise-operations
Auhtor: Erin James Wills, ejw.data@gmail.com

## 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`