Reading ASC data on Jupyter notebook /u/Rare-Zombie8885 Python Education

Hello all. I am working on a project for school and need to open a large .ASC file that contains medical data. I don’t need to do any predictive analytics. I just need to read the data file and gather some insights.

I used the code below to read the file.

core_file = pd.read_table("NIS_2019_Core.asc")
core_file.head(10)

The code executes successfully but when I attempt to display the first few rows, the output does not look right. It appears there is just one column with all the data.

Running the code below shows that I have 7083804 rows and 1 column

core_file.shape

What am I doing wrong? Thank you!

submitted by /u/Rare-Zombie8885
[link] [comments]

​r/learnpython Hello all. I am working on a project for school and need to open a large .ASC file that contains medical data. I don’t need to do any predictive analytics. I just need to read the data file and gather some insights. I used the code below to read the file. core_file = pd.read_table(“NIS_2019_Core.asc”) core_file.head(10) The code executes successfully but when I attempt to display the first few rows, the output does not look right. It appears there is just one column with all the data. Running the code below shows that I have 7083804 rows and 1 column core_file.shape What am I doing wrong? Thank you! submitted by /u/Rare-Zombie8885 [link] [comments] 

Hello all. I am working on a project for school and need to open a large .ASC file that contains medical data. I don’t need to do any predictive analytics. I just need to read the data file and gather some insights.

I used the code below to read the file.

core_file = pd.read_table("NIS_2019_Core.asc")
core_file.head(10)

The code executes successfully but when I attempt to display the first few rows, the output does not look right. It appears there is just one column with all the data.

Running the code below shows that I have 7083804 rows and 1 column

core_file.shape

What am I doing wrong? Thank you!

submitted by /u/Rare-Zombie8885
[link] [comments] 

Leave a Reply

Your email address will not be published. Required fields are marked *