Giter VIP home page Giter VIP logo

fatconference-2019-toolkit-tutorial's People

Contributors

cscheid avatar sorelle avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

fatconference-2019-toolkit-tutorial's Issues

Ricci dataset cannot be imported in fairness tutorial basics.ipynb

The basics.ipynb tutorial in the zip file "tutorial-notebooks.zip" cannot import the ricci dataset. When the command ricci = ProcessedData(Ricci()) is run, the following errors occur:

`---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
in
1 from fairness.data.objects.ProcessedData import ProcessedData
----> 2 ricci = ProcessedData(Ricci())

~\anaconda3\lib\site-packages\fairness\data\objects\ProcessedData.py in init(self, data_obj)
9 def init(self, data_obj):
10 self.data = data_obj
---> 11 self.dfs = dict((k, pd.read_csv(self.data.get_filename(k)))
12 for k in TAGS)
13 self.splits = dict((k, []) for k in TAGS)

~\anaconda3\lib\site-packages\fairness\data\objects\ProcessedData.py in (.0)
9 def init(self, data_obj):
10 self.data = data_obj
---> 11 self.dfs = dict((k, pd.read_csv(self.data.get_filename(k)))
12 for k in TAGS)
13 self.splits = dict((k, []) for k in TAGS)

~\anaconda3\lib\site-packages\pandas\io\parsers.py in parser_f(filepath_or_buffer, sep, delimiter, header, names, index_col, usecols, squeeze, prefix, mangle_dupe_cols, dtype, engine, converters, true_values, false_values, skipinitialspace, skiprows, skipfooter, nrows, na_values, keep_default_na, na_filter, verbose, skip_blank_lines, parse_dates, infer_datetime_format, keep_date_col, date_parser, dayfirst, cache_dates, iterator, chunksize, compression, thousands, decimal, lineterminator, quotechar, quoting, doublequote, escapechar, comment, encoding, dialect, error_bad_lines, warn_bad_lines, delim_whitespace, low_memory, memory_map, float_precision)
674 )
675
--> 676 return _read(filepath_or_buffer, kwds)
677
678 parser_f.name = name

~\anaconda3\lib\site-packages\pandas\io\parsers.py in _read(filepath_or_buffer, kwds)
446
447 # Create the parser.
--> 448 parser = TextFileReader(fp_or_buf, **kwds)
449
450 if chunksize or iterator:

~\anaconda3\lib\site-packages\pandas\io\parsers.py in init(self, f, engine, **kwds)
878 self.options["has_index_names"] = kwds["has_index_names"]
879
--> 880 self._make_engine(self.engine)
881
882 def close(self):

~\anaconda3\lib\site-packages\pandas\io\parsers.py in _make_engine(self, engine)
1112 def _make_engine(self, engine="c"):
1113 if engine == "c":
-> 1114 self._engine = CParserWrapper(self.f, **self.options)
1115 else:
1116 if engine == "python":

~\anaconda3\lib\site-packages\pandas\io\parsers.py in init(self, src, **kwds)
1889 kwds["usecols"] = self.usecols
1890
-> 1891 self._reader = parsers.TextReader(src, **kwds)
1892 self.unnamed_cols = self._reader.unnamed_cols
1893

pandas_libs\parsers.pyx in pandas._libs.parsers.TextReader.cinit()

pandas_libs\parsers.pyx in pandas._libs.parsers.TextReader._setup_parser_source()

FileNotFoundError: [Errno 2] File data\preprocessed\ricci_original.csv does not exist: 'data\preprocessed\ricci_original.csv'`

I have checked my installation files and I have seen that the not found CSV file does exist in my installation in Anaconda packages. How can this issue be fixed? @cscheid

ss

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.