Import the file as a pandas dataframe and then you this code(Make necessary changes):
import pandas as pd
df = pd.read_csv("<path/to/file>")
Thanks alot. I have one more problem now i wanted to change the date time format to YYYY-MM-SS HH:MM:SS so can you please suggest some peace of code to satisfy this solution.
date1 = "3/05/18 12:39"
date, time = date1.split(' ')
date2 = datetime.datetime.strptime(date, '%d/%m/%y').strftime('%Y/%m/%d')
date2 = (date2+' '+time)
You probably want to use np.ravel_multi_index:
import numpy ...READ MORE
You can use
This is called conversion ...READ MORE
You can find the explanation and implementation ...READ MORE
Hi @Mike. First, read both the csv ...READ MORE
For Python 3, try doing this:
import urllib.request, ...READ MORE
Hi, it is pretty simple, to be ...READ MORE
use lower() for lowercasing.example:
> ...READ MORE
Assume you have a list of lists:
my_list ...READ MORE
suppose you have a string with a ...READ MORE
suppose you have a list with the ...READ MORE
Already have an account? Sign in.