This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import urllib.request | |
import json | |
data = { | |
"Inputs": { | |
"WebServiceInput0": | |
[ | |
{ | |
"carat": -2.617849, | |
"cut": "Ideal", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Inputs": { | |
"WebServiceInput0": | |
[ | |
{ | |
"carat": -2.617849, | |
"cut": "Ideal", | |
"color": "E", | |
"clarity": "SI2", | |
"depth": -0.215863, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// laploy@gmail.com Mar 2025 | |
using Azure; | |
using Azure.Data.Tables; | |
using Newtonsoft.Json; | |
using RestSharp; | |
using System.Net; | |
namespace testGetApi | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// laploy@gmail.com Mar 2025 | |
using RestSharp; | |
using System.Net; | |
namespace TestApi | |
{ | |
internal class Program | |
{ | |
static async Task Main(string[] args) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// laploy@gmail.com March 2025 | |
namespace MininalApi | |
{ | |
public class Program | |
{ | |
public static void Main(string[] args) | |
{ | |
var builder = WebApplication.CreateBuilder(args); | |
var app = builder.Build(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Loy 2025 | |
# import all modules | |
import pandas as pd | |
import seaborn as sns | |
import matplotlib.pyplot as plt | |
# Read in the DataFrame | |
df = pd.read_csv('Titanic-Dataset.csv') | |
# creating a histogram |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CSViewer https://csviewer.com/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
def replace_gender(x): | |
gender = x['Gender'] | |
if gender in ['Male', '0', 'M', 'm', 'A']: | |
return 'male' | |
if gender in ['Female', '1', 'F', 'f', 'B']: | |
return 'female' | |
def azureml_main(dataframe1 = None, dataframe2 = None): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ID | Name | Age | Gender | |
---|---|---|---|---|
1 | Lady | 30 | Male | |
2 | Boy | 20 | Female | |
3 | King | 40 | 0 | |
4 | Lord | 25 | 1 | |
5 | Gay | 44 | M | |
6 | Queen | 52 | F | |
7 | Trans | 62 | m | |
8 | Les | 80 | f | |
9 | Gaylord | 69 | A |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// laploy@gmail.com Feb 2025 | |
using RestSharp; | |
using System.Net; | |
namespace TestBot | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ |
NewerOlder