I am not getting my answers please help.
It has been taken long time.
Please reply.
I am not getting my answers please help.
It has been taken long time.
Please reply.
It says it already exists
fatal: destination path ‘/home/niravpandit00027136/ml’ already exists and is not an empty directory.
but when i do
housing=pd.read_csv(“housing.csv”)
FileNotFoundError Traceback (most recent call last)
in
----> 1 housing=pd.read_csv(‘housing.csv’)
/usr/local/anaconda/lib/python3.6/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)
683 )
684
–> 685 return _read(filepath_or_buffer, kwds)
686
687 parser_f. name = name
/usr/local/anaconda/lib/python3.6/site-packages/pandas/io/parsers.py in _read(filepath_or_buffer, kwds)
455
456 # Create the parser.
–> 457 parser = TextFileReader(fp_or_buf, **kwds)
458
459 if chunksize or iterator:
/usr/local/anaconda/lib/python3.6/site-packages/pandas/io/parsers.py in init (self, f, engine, **kwds)
893 self.options[“has_index_names”] = kwds[“has_index_names”]
894
–> 895 self._make_engine(self.engine)
896
897 def close(self):
/usr/local/anaconda/lib/python3.6/site-packages/pandas/io/parsers.py in _make_engine(self, engine)
1133 def _make_engine(self, engine=“c”):
1134 if engine == “c”:
-> 1135 self._engine = CParserWrapper(self.f, **self.options)
1136 else:
1137 if engine == “python”:
/usr/local/anaconda/lib/python3.6/site-packages/pandas/io/parsers.py in init (self, src, **kwds)
1915 kwds[“usecols”] = self.usecols
1916
-> 1917 self._reader = parsers.TextReader(src, **kwds)
1918 self.unnamed_cols = self._reader.unnamed_cols
1919
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 b’housing.csv’ does not exist: b’housing.csv’
It says it does not exist.
How can i fix this??
How can i fix this??
Please reply.
The file is here …/ml/machine_learning/datasets/housing/housing.csv.
Use the full path
Using the path this way will be better ~/ml/machine_learning/datasets/housing/housing.csv.
Also, we have now put this file in this location: ‘/cxldata/datasets/project/housing’
this is not working
~/ml/machine_learning/datasets/housing/housing.csv.
even this code
/cxldata/datasets/project/housing not working also…
Give me other code.
Please reply.
Hi Nirav,
Let me give you the exact expression:
housing=pd.read_csv(‘/cxldata/datasets/project/housing/housing.csv’)
the problem is resolved
thank you .
But I have a question regrading about a teacher.
may I ask that question??
Where is rajtilak sir??
I am not seeing him on discussion forum.
Please reply.
He is in hospital and undergoing operation.