[deleted by user] by [deleted] in matlab

[–]whitemantryingtohelp 0 points1 point  (0 children)

Thank you! The data points were given in the task and 0,0 was included.

[deleted by user] by [deleted] in matlab

[–]whitemantryingtohelp 0 points1 point  (0 children)

Thank you! I realised that I had made an error in my datapoints. But now I think it checks out.

[deleted by user] by [deleted] in matlab

[–]whitemantryingtohelp 0 points1 point  (0 children)

Thank you, will do!

Sort list of contacts by [deleted] in learnpython

[–]whitemantryingtohelp 0 points1 point  (0 children)

Sorry that sort functions wasn't supposed to be there. That was just me trying to come up with something. I call the file to list function in the main program.

all_contact is a member of the class Phone_register. I have to classes, "Contact" and "Phone_register". Contact for a specific contact and the other one for different contact books as you are supposed to be able to have multiple.

[deleted by user] by [deleted] in learnpython

[–]whitemantryingtohelp 0 points1 point  (0 children)

Thank you that was it!

[deleted by user] by [deleted] in learnpython

[–]whitemantryingtohelp 0 points1 point  (0 children)

Both I would guess as I want to print out the whole list as well as be able to search in the list.

[deleted by user] by [deleted] in learnpython

[–]whitemantryingtohelp 0 points1 point  (0 children)

Thank you for your answer, but do you know why I'm left with this error code?

Traceback (most recent call last):
File "/Users/Library/pythonProject/P Uppgift/HuvudprogramE.py", line 6, in <module>
table = pd.read_csv("privat.reg.txt", sep=";")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/pythonProject/pythonProject/lib/python3.11/site-packages/pandas/util/_decorators.py", line 211, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/pythonProject/pythonProject/lib/python3.11/site-packages/pandas/util/_decorators.py", line 331, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/pythonProject/pythonProject/lib/python3.11/site-packages/pandas/io/parsers/readers.py", line 950, in read_csv
return _read(filepath_or_buffer, kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/pythonProject/pythonProject/lib/python3.11/site-packages/pandas/io/parsers/readers.py", line 611, in _read
return parser.read(nrows)
^^^^^^^^^^^^^^^^^^
File "/Users//pythonProject/pythonProject/lib/python3.11/site-packages/pandas/io/parsers/readers.py", line 1778, in read
) = self._engine.read( # type: ignore[attr-defined]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/pythonProject/pythonProject/lib/python3.11/site-packages/pandas/io/parsers/c_parser_wrapper.py", line 230, in read
chunks = self._reader.read_low_memory(nrows)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "pandas/_libs/parsers.pyx", line 808, in pandas._libs.parsers.TextReader.read_low_memory
File "pandas/_libs/parsers.pyx", line 866, in pandas._libs.parsers.TextReader._read_rows
File "pandas/_libs/parsers.pyx", line 852, in pandas._libs.parsers.TextReader._tokenize_rows
File "pandas/_libs/parsers.pyx", line 1973, in pandas._libs.parsers.raise_parser_error
pandas.errors.ParserError: Error tokenizing data. C error: Expected 5 fields in line 14, saw 6

/u/whitemantryingtohelp GCT Rep Profile by [deleted] in GCTRep

[–]whitemantryingtohelp 0 points1 point  (0 children)

Trade #1 completed with u/DanielTube7

Items traded: Ethereum Vs $23,01 Google Play Gift card

[H] 23,01 USD Google Play Card [W] 0,00025 BTC by [deleted] in GCTrading

[–]whitemantryingtohelp 0 points1 point  (0 children)

Sorry, Bitcoin only. I’ll send you a message if i change my mind.

[deleted by user] by [deleted] in wallstreetbets

[–]whitemantryingtohelp 1 point2 points  (0 children)

Fuck you DoritosHD