Nwebb03 / Depth-First-Python

0 stars 0 forks source link

Switch from Numpy to Pandas (Depth_First.py) #3

Open kirkster96 opened 3 years ago

kirkster96 commented 3 years ago

Today, in our meeting we determined that Numpy isn't going to work for the Depth_First.py without re-writing the Graph_Reading.py.

The proposed solution is to try implementing our algorithm for Depth_First search using a Pandas dataframe. The first step to making this change is going to be initializing the process queue as a pandas dataframe. The dataframe requires each column of the dataframe to have a label.

See documentation: https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.html

kirkster96 commented 3 years ago

Let me know if you have any questions between now and our next meet.

-Cameron

kirkster96 commented 3 years ago

@Nwebb03 The changes you made so far look good. Lets talk in our meeting about what to do next.

Nwebb03 commented 3 years ago

We updated the dataframe as an array. How should we develop a loop to extend the initial variable with pandas?

kirkster96 commented 3 years ago

I added some code to help things along with finishing out the depth-first. We will discuss in our meeting today!