Grasshopper

algorithmic modeling for Rhino

I'm newbie Coding with Python, but i have roots in Basic, Dbase, Foxpro, Recently in Processing, and extremely recent with Python. 

i'm working on a Component to manage CSV file, the logic behind my Component its manage a CSV like a Database, i found that the csv native Python module doesn't work in IronPython cuz its compiled in PythonC (or something like this), so i found a .Net module that can be imported to IronPython to work with CSV file

So Here a 

Pseudo Code of my Toughs 

1 -  Import .net Module.

2 - Read Csv File. by a Path Assigned by interactive Imput.

3 - Identify the Header of The Csv File.

4 - Create a List of the Fields found in the Csv Header for Further (Sorting, Retrieve specific, create relations with others files by fields in commons, etc. etc. (whatever can imagine))

5 - Read the Data of the Csv File 

6 - Out put the Attributes of the Header. (simple list of the fields to identify with what we deal for ) 

7 - Out Put a list of all the Attributes of the Header ( Complete List of the Fields by Rows Found in the Csv File.

8 - Out Put a list of all the Data inside the Csv File in relation with the Point 7.

over here's my thoughts  Any Comment or Suggetions for the Component ?

i will be posting a Github for this, to all who want to collaborate with this.

i'm doing this cuz i'm dealing with a lot of amount of data in my Thesis Project, wich its focus on managing Shapes files, and Csv Files of Data that are not in the same dataset, so i need to relationate a lot of things just to develop my examinations techniques about the city.

    

Views: 250

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2025   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service