Open Turtle-Grace opened 6 months ago
import pandas as pd # Reconstructing the data for the AB and BA groups after the reset AB_data = { 'Period 1': [133, 125, 139, 140, 141, 133, 137, 135, 128, 137, 138, 137, 124], 'Period 2': [128, 145, 147, 136, 138, 147, 130, 141, 137, 150, 146, 130, 138] } BA_data = { 'Period 1': [137, 130, 140, 139, 147, 143, 146, 137, 135, 133, 141, 142, 141], 'Period 2': [133, 141, 137, 138, 136, 139, 137, 136, 141, 136, 143, 133, 135] } # Convert the data into pandas DataFrames AB_df = pd.DataFrame(AB_data) BA_df = pd.DataFrame(BA_data)