Skip to content

Instantly share code, notes, and snippets.

@VidalNat
VidalNat / task1_investigate-and-analyze-nat-das-price-data.ipynb
Last active July 22, 2025 10:10
task1_investigate-and-analyze-nat-das-price-data.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@VidalNat
VidalNat / vg_sales_rating.ipynb
Last active May 5, 2025 03:51
VG_sales_rating.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@VidalNat
VidalNat / credit-card-fraud.ipynb
Created December 27, 2024 08:40
Credit Card Fraud
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@VidalNat
VidalNat / credit_fraud.sql
Last active December 26, 2024 04:46
credit_card_fraud_project
-- Database used
use Credit_card_fraud
-- To check column names for reference
declare @collist nvarchar(max);
select @collist = STRING_AGG(COLUMN_NAME,',')
from INFORMATION_SCHEMA.COLUMNS
where TABLE_NAME = 'fraudTrain';
print @collist
@VidalNat
VidalNat / heart-disease-prediction.ipynb
Last active November 18, 2024 17:12
heart-disease-prediction.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@VidalNat
VidalNat / stock-price-analysis-jp-morgan.ipynb
Created August 17, 2024 14:13
Stock price analysis - JP Morgan
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
-- country based overall data
SELECT location, max(population) as total_population, max(total_cases) as total_confirmed_cases,max(total_deaths) as total_deaths, max(total_cases/population)*100 as percent_infected
FROM `my-project-vidal.covid19.case_data`
where continent is not null
group by location
order by percent_infected desc
--continent based overall data
select continent, max(population) as population, max(total_cases)as total_cases,max(total_deaths) as total_death
FROM `my-project-vidal.covid19.case_data`
@VidalNat
VidalNat / Coffee_shop_sales.sql
Last active August 2, 2025 13:34
Coffee_shop_sales
use My_tasks
-- exec sp_rename 'coffe_shop_sales' ,'coffee_shop_sales';
--making a copy of od original table to do our cleaning & analysis just in case
select *
into copy_coffee_shop_sales
from dbo.coffee_shop_sales
-- verify the table creation
select * from copy_coffee_shop_sales order by transaction_id;