series tag

2 questions


1 answers
67 views
0
[pandas] When the indexing is not good?

I have data. It's in the form of a pandas data frame.I'm going to bring it in and do something, but it's not indexing well.I can't get all the original data.For example, df = np.random.randint(1, 15, ...

2 years ago

1 answers
46 views
0
Is there a way to calculate only a partial value of the data frame?

import pandas as pddf = pd.DataFrame({A:[1,4,7,10], B:[2,5,8,11], C:[3,6,9,12], d:[1,5,3,6]})print(df)Hi, how are you?I'm a Python beginner who is receiving a lot of help from hash codes.As I process ...

2 years ago

© 2024 OneMinuteCode. All rights reserved.