When using pandas for standard data science: all the functions
When using pandas for chemical data transformation: yeah everything's too complicated; df.apply() on every line so I can use my custom functions πΌ
When using pandas for chemical data transformation: yeah everything's too complicated; df.apply() on every line so I can use my custom functions πΌ
Comments
df.[dataframe].str.replace("A","B")... ad nauseam. I learnt really quickly why questionnaires typically don't use free text boxes much!
(I am not making the form, its not my fault).
I'm actually just looking up chemical data from often very limited, free text input, and trying to augment it into something useful!
I just write some code with
for index, data in df.iterrows():
and then when I realise its way too slow, have lab AI refactor the code to be vectorised.