Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Python (Pandas) Is there a way to make this code concise? For example: could I use a for loop. I tried a couple different things
Python (Pandas) Is there a way to make this code concise? For example: could I use a for loop. I tried a couple different things but I get anything to work
1 df07 17 -pd.read csv (DCG Bids Analysis 2017-07.csv') 2 df08 17 - pd.read csv (DCG Bids Analysis 2017-08.csv') 3 df09 17 = pd . read csv ("DCG - Bids Analysis 2017-09csv ') 4df10 17- pd.read csv (DCG Bids Analysis 2017-10.csv') 5 df11 17 - pd.read csv (DCG Bids Analysis 2017-11.csv') 6 df12 17 = pd . read csv ("DCG - Bids Analysis 2017-12 . csv ') 7 df01 18 = pd . read csv ("DCG - Bids Analysis 2018-01.csv ') 8 df02 18 pd . read csv ("DCG-Bids Analysis 2018-02 . csv ') 9 df03 18 pd . read csv ("DCG-Bids Analysis 2018-03"csv ') 10 df04 18 pd . read csv("DCG - Bids Analysis 2018-04 . csv ') 11 df05 18 pd . read csv ("DCG - Bids Analysis 2018-05"csv ') 12 df06 18 pd . read csv ("DCG - Bids Analysis 2018-06"csv ') 13 df07 18 = pd. read csv ('DCG - Bids Analysis 2018-07. csv ')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