In [2]:
import random, datetime
import numpy as np
import pylab as plt
import statsmodels.api as sm
from scipy.stats import norm
from scipy.stats.stats import pearsonr
In [3]:
str(3)
Out[3]:
In [4]:
int('5')
Out[4]:
In [5]:
float('7.1')
Out[5]:
In [6]:
range(10)
Out[6]:
In [7]:
range(1,10)
Out[7]:
In [8]:
dir
Out[8]:
In [9]:
dir(str)[-5:]
Out[9]:
In [10]:
x='Hello WorlD'
dir(x)[-10:]
Out[10]:
In [11]:
x.lower()
Out[11]:
In [12]:
x.upper()
Out[12]:
In [13]:
x.rstrip()
Out[13]:
In [14]:
x.strip()
Out[14]:
In [16]:
x='hello world'
type(x)
Out[16]:
In [ ]: