Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pandas as pd
- df = pd.read_csv('your_file.csv')
- print(df.head())
- # Access a specific column by name
- column_data = df['ColumnName']
- # Filter rows based on a condition
- filtered_data = df[df['Column1'] > 50]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement