Skip to content

Instantly share code, notes, and snippets.

@rsalaza4
Created May 28, 2024 19:11
Show Gist options
  • Save rsalaza4/e48c9eaa925c23cafb847c1578426c0b to your computer and use it in GitHub Desktop.
Save rsalaza4/e48c9eaa925c23cafb847c1578426c0b to your computer and use it in GitHub Desktop.
# Import libraries and dependencies
import numpy as np
import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt
%matplotlib inline
# Open Excel file
data = pd.read_excel("msa_2_crossed.xlsx")
# Sort values by Part and Operator
data = data.sort_values(["Part","Operator"])
# Reset index
data.reset_index(inplace=True, drop=True)
# Display top rows
data.head()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment