diff --git a/data.csv b/data.csv new file mode 100644 index 0000000..6b05835 --- /dev/null +++ b/data.csv @@ -0,0 +1,4 @@ +name,age,city +Alice,30,New York +Bob,25,Los Angeles +Charlie,35,Chicago diff --git a/data_analysis.py b/data_analysis.py new file mode 100644 index 0000000..7396acb --- /dev/null +++ b/data_analysis.py @@ -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) \ No newline at end of file