GithubHelp home page GithubHelp logo

Comments (4)

pgovind avatar pgovind commented on July 24, 2024

Thanks for uploading the data set. I just looked at it! DataFrame.LoadCsv tries to guess the column type by inspecting the data in the first few rows. It defaults to a StringDataFrameColumn when we can't guess it's type. The ANNOTATION EXTENSION column has many empty rows here, so I'm guessing it became a StringDataFrameColumn. A couple questions for you:

  1. Is StringDataFrameColumn wrong for the Annotation Extension column? What did you expect instead? The LoadCsv method also takes an optional dataTypes parameter to specify the type of the column if you know it upfront.
  2. What's worse is that visual studio only gave me blank build errors: I don't understand this fully! Can you paste the build errors here?

from corefxlab.

liugaocn avatar liugaocn commented on July 24, 2024

There was no build error message at all in visual studio. It just won't debug or run, and also no red highlights for errors. But I was able to run the program with Rider, and Rider gave me some error messages such as "access to path denied" or "there was an error with ... ", something like so. Maybe there is a problem with my settings. I didn't know how to describe it so I used "blank", sorry for the confusion.
I just used LoadCsv(). It is inconvenient to specify all the datatypes of every column, especially when there are so many of them, for example, 100 columns. So, I guess it would be nice if they all can be set to strings by default, especially when they failed to identify their datatypes. Most of the time, datatype really doesn't matter to me, but this may cause other problems.

from corefxlab.

pgovind avatar pgovind commented on July 24, 2024

error messages such as "access to path denied" or "there was an error with ... "

I'm wondering if access to your file was restricted for some reason. When I tested it locally, I was able to see where the exception was being thrown. In any case, I opened #2982 to fix this bug!

from corefxlab.

pgovind avatar pgovind commented on July 24, 2024

This is fixed now with #2982

from corefxlab.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.