Efficient Data File Handling with Python for Analytics and Visualization

d ata a nalytics in p ytho n reading files n.w
1 / 7
Embed
Share

Learn about reading and manipulating various file formats for data analytics using Python. Explore JSON and XML standards, leverage Python libraries like Pandas, and discover Excel file handling techniques for effective data scrubbing and visualization tasks.

  • Python
  • Data Analytics
  • File Handling
  • Pandas
  • Excel

Uploaded on | 3 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.

E N D

Presentation Transcript


  1. D ata A nalytics in P ytho n READING FILES COMP 2800 COMP 2800 David J Stucki David J Stucki Otterbein University Otterbein University

  2. Alerts Assignment 3: Due next Monday, 2/12 by 11:59pm Questions?

  3. JSON JavaScript Object Notation Official standard: https://www.json.org/json-en.html Native Python library: https://docs.python.org/3/library/json.html W3 Schools: https://www.w3schools.com/python/python_json.asp Pandas: https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.read_json.html W3 Schools: https://www.w3schools.com/python/pandas/pandas_json.asp Real world example

  4. XML Extensible Markup Language Official standard: https://developer.mozilla.org/en-US/docs/Web/XML/XML_introduction Native Python library: https://docs.python.org/3/library/xml.html Roadmap: https://realpython.com/python-xml-parser/ Pandas: https://pandas.pydata.org/docs/reference/api/pandas.read_xml.html Real world example

  5. Excel Microsoft Excel made a radical change in 2007 in how the files were structured Files are now zip archives of XML documents https://en.wikipedia.org/wiki/Microsoft_Excel#Current_file_extensions pandas supports opening both the old (using xlrd) and the new (using openpyxl) formats of Excel xlrd openpyxl pandas pandas.ExcelFile: class pandas.read_excel: function ExcelFile Vs. read_excel in pandas -Stack Overflow Real world example

  6. Questions?

  7. Next Time Scrubbing Data

More Related Content