This file contains 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 calplot | |
import numpy as np | |
import pandas as pd | |
import matplotlib.pyplot as plt | |
all_days = pd.date_range('1/1/2019', periods=730, freq='D') | |
days = np.random.choice(all_days, 500) | |
events = pd.Series(np.random.randn(len(days)), index=days) | |
plot = calplot.calplot(events) |
This file contains 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 calplot | |
import numpy as np | |
import pandas as pd | |
all_days = pd.date_range('1/1/2019', periods=730, freq='D') | |
days = np.random.choice(all_days, 500) | |
events = pd.Series(np.random.randn(len(days)), index=days) | |
plot = calplot.calplot(events) | |
print(type(plot[0])) # reveals <class 'matplotlib.figure.Figure'> |
This file contains 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 fire | |
import random | |
class ProcessClass(object): | |
def __init__(self): | |
self.pizza = '' | |
def orderUp(self, HowMuchPizza, TipAmount): | |
''' |
This file contains 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 fire | |
import random | |
class ProcessClass(object): | |
def __init__(self): | |
self.pizza = '' | |
def orderUp(self, HowMuchPizza, TipAmount): | |
''' |
This file contains 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
using System.Security.Cryptography.X509Certificates; | |
namespace TestingGetEwsToken | |
{ | |
/// <summary> An incomplete data Model for authentication modded for testing acquisition of a token. </summary> | |
public class AuthenticationConfigModel | |
{ | |
/// <summary> (Required) Also known as the Application ID in Microsoft Azure. | |
/// Gets or sets the identifier of the client. </summary> | |
/// <value> The identifier of the client. </value> |