Message from Python discussions
November 2018
— Yeaaaah, but this way, I am not doing it with my own hands , not making them dirty :) maybe it sounds weird
Ok that would be my choice too. But if you need to process them after strip operation and if there are toooo much item in your list, it's better to strip them on your own. map objects are one time usable only.
— There are 15 millions of elements :(
— Wait... one more things that bugs me.
Dataframe.astype()
Should I implement this before I had actually reformated the values in Dataframe or after ?
— So you can consider writing your own loop. Because you will need to construct the list after map (hence iterate over it again) if you want to use it more than once.
— Yes, I will write a function, I guess
— Https://del.dog/toyarihipe.py
How to make the contour to look smoother? The edges don't look so sharp, and they don't make a perfect shape.. and the color looks like a paint edit
— This is what I mean
— I don't understand this one
— I'm trying to get close to this filter
— Thanks ^^
— Well, in the csv file I am working with , dates are strings , like '01.01.2018'. So I want to reformat them into datetime format. I looked this up in the documentation. Dataframe.astype() allow to change the dtypes of dataframe. SO I can't really understand. Should I reformat all the string-dates in the dataframe into datetime types before I write 'df.astype(datetime)' or should I preliminarily apply this function and do all the reformating afterwards