Skip to content

Kiransangamnere22/Weather-Analysis-Using-Python-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

13 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Weather Data Analysis using python

9O6x3o

About Dataset:

It is time series data set with per_hour information about wether condtion at perticuler location.it records Temparature,Dew point temperture,relative humidity,wind speed,visibilty,pressure and condtions.

Title: Weather Data Analysis Using Python โ˜๏ธ๐ŸŒก๏ธ

Description:

This project involves the analysis of a time series dataset containing hourly weather conditions at a specific location. The dataset includes various weather parameters such as temperature, dew point temperature, relative humidity, wind speed, visibility, pressure, and weather conditions.

Key Python Functions and Techniques Used:

nunique() & unique():

To find unique values in the dataset. ๐Ÿ”

value_counts():

To count occurrences of unique values in a column. ๐Ÿ“Š

Filtering:

To extract specific data based on conditions. ๐ŸŽฏ

groupby() & get_group():

To group data and retrieve specific groups. ๐Ÿ“‚

isnull():

To identify and handle null values. ๐Ÿšซ

rename():

To rename columns in the dataframe. โœ๏ธ

mean():

To calculate the average of data. โž—

std():

To calculate the standard deviation of data. ๐Ÿ“

str.contains():

To filter string data. ๐Ÿ”Ž

And/Or operator:

To combine multiple conditions. โš™๏ธ

Commands Used:

head():

Displays the first N rows of the data (default is 5). ๐Ÿ‘€

shape:

Provides the dimensions of the dataframe (rows, columns). ๐Ÿ“

index:

Gives the index of the dataframe. ๐Ÿ“š

columns:

Lists all column names. ๐Ÿท๏ธ

dtypes:

Shows the data types of each column. ๐Ÿงฉ

unique():

Lists unique values in a column. ๐Ÿ—‚๏ธ

nunique():

Counts the number of unique values in columns. ๐Ÿ”ข

count():

Counts non-null values in columns. ๐Ÿ“ˆ

value_counts():

Counts occurrences of unique values in a column. ๐Ÿงฎ

info():

Provides a summary of the dataframe. ๐Ÿ“œ

Questions Addressed:

Find all unique 'Wind Speed' values in the data. ๐Ÿ’จ

Count occurrences of 'Weather is exactly Clear'. โ˜€๏ธ

Count occurrences of 'Wind Speed was exactly 4 km/h'. ๐ŸŒฌ๏ธ

Identify all Null Values in the data. ๐Ÿšซ

Rename the column 'Weather' to 'Weather Condition'. ๐Ÿ“

Calculate the mean 'Visibility'. ๐Ÿ‘“

Determine the Standard Deviation of 'Pressure'. โš–๏ธ

Find the Variance of 'Relative Humidity'. ๐Ÿ’ง

Identify instances when 'Snow' was recorded. โ„๏ธ

Find instances when 'Wind Speed is above 24' and 'Visibility is 25'. ๐ŸŒช๏ธ

Calculate the Mean value of each column against each 'Weather Condition'. ๐Ÿ“Š

Determine the Minimum & Maximum value of each column against each 'Weather Condition'. ๐Ÿ“ˆ๐Ÿ“‰

Display records where 'Weather Condition is Fog'. ๐ŸŒซ๏ธ

This project showcases how Python can be effectively used for weather data analysis, including data manipulation, statistical calculations, and answering specific weather-related queries.