0

I have bunch of data with x, y, z values like below.

x | y | z

1.0 | 2.0 | 3.0

1.2 | 2.1 | 3.1

1.5 | 2.5 | 3.2

''''''''''''''''''

2.0 | 2.6 | 7.8

2.1 | 2.1 | 5.6

I need to make new Dataframe by x column like below.

Df1

1.0 | 2.0 | 3.0

1.0 | 2.1 | 3.1

''''''''''''''''''

Df2

1.2 | 2.6 | 7.0

1.2 | 2.1 | 5.1

I know there is a way to make Dataframe with specific values like "df1 = df[(df[0]='1.0']".

but, I can't write all codes with specific values cause there are so many data.

How can I get a new(sort & divide) Dataframes without call values?

Thanks in advance.

0 Answers0