Skip to content

Tag: python

How to merge multiple columns of a dataframe using regex?

I have a df which as following Here what I want to do is combine those columns and we have two rules: If a column removes _C{0~9} or _C{0~9}{0~9} or _C{0~9}{0~9}{0~9} is equal to another column, these two columns can be combined. Let’s take number_C1_E1 number_C2_E2 number_C3_E1 as an example, here numb…

How can I predict the outputs using a prediction function? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 15 days ago. Improve this question I’ve created my own prediction function (R=C^3+Z^2+3) to predict my target variable. T…