Re: Alternatives to Jupyter Notebook

2021-11-14 Thread Paige Bailey
If you're experiencing issues with Jupyter, perhaps try JupyterLab: JupyterLab Documentation — JupyterLab 3.2.3 documentation Or VS Code, which is also open-source and has support for Jupyter notebooks: Working with Jupyter Notebooks in Visual Studio

Re: Alternatives to Jupyter Notebook

2021-11-14 Thread Dan Stromberg
Sorry, gmail got in a hurry to send my message :) Does this help? https://lwn.net/Articles/855875/ On Sun, Nov 14, 2021 at 4:22 PM Dan Stromberg wrote: > > Does this help? > > > On Wed, Oct 20, 2021 at 8:48 AM Shaozhong SHI > wrote: > >> Hello, >> >> Is anyone familiar with alternatives to Jup

Re: Alternatives to Jupyter Notebook

2021-11-14 Thread Dan Stromberg
Does this help? On Wed, Oct 20, 2021 at 8:48 AM Shaozhong SHI wrote: > Hello, > > Is anyone familiar with alternatives to Jupyter Notebook. > > My Jupyter notebook becomes unresponsive in browsers. > > Are there alternatives to read, edit and run Jupyter Notebook? > > Regards, > > David > -- >

Re: Alternatives to Jupyter Notebook

2021-11-14 Thread Martin Schöön
Den 2021-10-20 skrev Shaozhong SHI : > > My Jupyter notebook becomes unresponsive in browsers. > Odd, I never had any problems like that. I use Firefox on Linux. > Are there alternatives to read, edit and run Jupyter Notebook? > I know some people use emacs orgmode. I have never tried it myself an

Re: Using astype(int) for strings with thousand separator

2021-11-14 Thread Thomas Jollans
On 14.11.21 16:41, Mahmood Naderan via Python-list wrote: Hi While reading a csv file, some cells have values like '1,024' which I mean they contains thousand separator ','. Therefore, when I want to process them with   row = df.iloc[0].astype(int) If you are reading a CSV with pandas.read

Re: Unable to compile my C Extension on Windows: unresolved external link errors

2021-11-14 Thread Marco Sulla
On Sun, 14 Nov 2021 at 16:42, Barry Scott wrote: > > Sorry iPad sent the message before it was complete... > > > On 14 Nov 2021, at 10:38, Marco Sulla wrote: > > > > Okay, now the problem seems to be another: I get the same "unresolved > > external link" errors, but only for internal functions. >

Re: Using astype(int) for strings with thousand separator

2021-11-14 Thread Barry Scott
> On 14 Nov 2021, at 15:41, Mahmood Naderan via Python-list > wrote: > > Hi > > While reading a csv file, some cells have values like '1,024' which I mean > they contains thousand separator ','. Therefore, when I want to process them > with > > row = df.iloc[0].astype(int) remove the

Re: Unable to compile my C Extension on Windows: unresolved external link errors

2021-11-14 Thread Barry Scott
Sorry iPad sent the message before it was complete... > On 14 Nov 2021, at 10:38, Marco Sulla wrote: > > Okay, now the problem seems to be another: I get the same "unresolved > external link" errors, but only for internal functions. > > This seems quite normal. The public .lib does not expose t

Using astype(int) for strings with thousand separator

2021-11-14 Thread Mahmood Naderan via Python-list
Hi While reading a csv file, some cells have values like '1,024' which I mean they contains thousand separator ','. Therefore, when I want to process them with   row = df.iloc[0].astype(int) I get the following error   ValueError: invalid literal for int() with base 10: '1,024' How can I fi

Re: Returning the index of a row in dataframe

2021-11-14 Thread Mahmood Naderan via Python-list
>>> df.iloc[1].name Correct I also see that 'df.index[1]' works fine. Thanks. Regards, Mahmood -- https://mail.python.org/mailman/listinfo/python-list

Re: Unable to compile my C Extension on Windows: unresolved external link errors

2021-11-14 Thread Marco Sulla
Okay, now the problem seems to be another: I get the same "unresolved external link" errors, but only for internal functions. This seems quite normal. The public .lib does not expose the internals of Python. The strange fact is: why can I compile it on Linux and MacOS? Their external libraries exp

Returning the index of a row in dataframe

2021-11-14 Thread Mahmood Naderan via Python-list
Hi In the following dataframe, I want to get the index string by specifying the row number which is the same as value column. Value     global loads   0     global stores  1     local loads    2 For example, `df.iloc[1].index.name` should return "global store