Skip to content

Commit

Permalink
added dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
jtwiley1996 committed Aug 7, 2024
1 parent d5cc65a commit 7e4aaa5
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
4 changes: 4 additions & 0 deletions data.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
name,age,city
Alice,30,New York
Bob,25,Los Angeles
Charlie,35,Chicago
15 changes: 15 additions & 0 deletions data_analysis.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import pandas as pd

# Load the CSV file
data = pd.read_csv('data.csv')

# Display the first few rows of the dataframe
print(data.head())

# Additional analysis (e.g., statistical summary)
print("\nStatistical Summary:")
print(data.describe())

# Display data types
print("\nData Types:")
print(data.dtypes)

0 comments on commit 7e4aaa5

Please sign in to comment.