Skip to content

Read xml files df#1

Open
DavidFountain wants to merge 4 commits intodevelopfrom
read_xml_files_df
Open

Read xml files df#1
DavidFountain wants to merge 4 commits intodevelopfrom
read_xml_files_df

Conversation

@DavidFountain
Copy link
Collaborator

No description provided.

@tcc7496 tcc7496 self-requested a review March 21, 2024 12:25
Copy link
Owner

@tcc7496 tcc7496 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More rubbish than a trashcan

Columns will be the individual sites
"""
dataset = pd.read_xml(filename)
dataset = dataset.rename({'Date':'OldDate', "Site_Name": "Site Name", "Rainfall_mm": "Rainfall (mm)"}, axis='columns')
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rubbish.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry boss

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants