0

I have downloaded a data from https://archive-beta.ics.uci.edu/ml/datasets?f%5Bcharacteristics%5D=time-series&p%5Boffset%5D=0&p%5Blimit%5D=10&p%5BorderBy%5D=NumHits&p%5Border%5D=desc&p%5BStatus%5D=APPROVED but it is dataxyz.tar.Z. How do we read data in dataxyz.tar.Z with python please.

This is what it shows after following Uncompressing a .Z file with Python

output snapshot

Cyrus
  • 84,225
  • 14
  • 89
  • 153
gracenz
  • 137
  • 1
  • 10
  • Thanks @stdunbar for the link. But I don't understand why the output looks funny. – gracenz May 03 '22 at 21:31
  • Actually try [this one](https://stackoverflow.com/questions/63245360/reading-in-tar-z-file-as-pandas-data-frame-in-python-3-7-4) - looks like it's the same data. It assumes a Unix environment. – stdunbar May 03 '22 at 21:43
  • @stdunbar thanks for pointing out. Yes, it's the same data. But I as well get EmptyDataError: No columns to parse from file even I restarted the kernel and run. – gracenz May 04 '22 at 05:33

0 Answers0