I have a dataframe like:
df['Web']
I just want to check the first four characters of df['Web']
is 'http'
or not.
I don't want to check if df['Web']
is in url format or not.
And how to use if condition like :
if (firstfour=='http'):
print("starts with http")
else:
print("doesn't starts with http")