Created
April 10, 2024 21:36
-
-
Save sleepingcat4/bb39e95ada2622977a7d34010ad2aa25 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
import matplotlib.pyplot as plt | |
# Read the CSV file | |
df = pd.read_csv('your_file.csv') | |
# Extract the columns | |
X = df.iloc[:, 0] # Column 1 | |
Y = df.iloc[:, 1] # Column 2 | |
# Plotting | |
plt.scatter(X, Y) | |
plt.xlabel('X') | |
plt.ylabel('Y') | |
plt.title('Template # Change it before applying') | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment