Question
I have a dataframe called Data and I need t create new dataframefrom it. I already created an empty dataframe and named the columnsA,B,C,D,E,F,G. I
I have a dataframe called Data and I need t create new dataframefrom it. I already created an empty dataframe and named the columnsA,B,C,D,E,F,G. I also have variables called a,b,c,d,e,f,g thatshould go directly under their columns.
Example:
Column A should have values that are stores in variable a.
Column B should have values that are stores in variable b.
Please write a python 3 code that can help me achieve that.
This is what I have so far:
Columns = ['A','B,'C','D','E,'F','G']
df = pd.DataFrame(columns = Columns)
a=mean(Data)
b=std(Data)
c=Data.min()
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started