On 5/12/2024 7:56 PM, Enrder via Python-list wrote:
good tader
I need help to install the bcml, and is that after installing the python
and I go to the command prompt and put ''pip install bcml'' to install it
tells me "pip" is not recognized as an internal or extern
good tader
I need help to install the bcml, and is that after installing the python
and I go to the command prompt and put ''pip install bcml'' to install it
tells me "pip" is not recognized as an internal or external command,
program or executable batch file.
I
Stefan Ram ha scritto:
jak wrote or quoted:
Stefan Ram ha scritto:
df = df.where( df == 'zz' ).stack().reset_index()
result ={ 'zz': list( zip( df.iloc[ :, 0 ], df.iloc[ :, 1 ]))}
Since I don't know Pandas, I will need a month at least to understand
these 2 lines of code. Thanks again.
Stefan Ram ha scritto:
df = df.where( df == 'zz' ).stack().reset_index()
result ={ 'zz': list( zip( df.iloc[ :, 0 ], df.iloc[ :, 1 ]))}
Since I don't know Pandas, I will need a month at least to understand
these 2 lines of code. Thanks again.
--
On Sat, Apr 13, 2024 at 1:10 PM Mats Wichmann via Python-list <
python-list@python.org> wrote:
> On 4/13/24 07:00, jak via Python-list wrote:
>
> doesn't Pandas have a "where" method that can do this kind of thing? Or
> doesn't it match what you are looking for? Pretty sure numpy does, but
>
On 4/13/24 07:00, jak via Python-list wrote:
Stefan Ram ha scritto:
jak wrote or quoted:
Would you show me the path, please?
I was not able to read xls here, so I used csv instead; Warning:
the script will overwrite file "file_20240412201813_tmp_DML.csv"!
import pandas as pd
with
Stefan Ram ha scritto:
jak wrote or quoted:
Would you show me the path, please?
I was not able to read xls here, so I used csv instead; Warning:
the script will overwrite file "file_20240412201813_tmp_DML.csv"!
import pandas as pd
with open( 'file_20240412201813_tmp_DML.csv', 'w' )as
Hi everyone.
I state that I don't know anything about 'pandas' but I intuited that
it could do what I want. I get, through the "read_excel" method, a
table similar to this:
obj| foo1 foo2 foo3 foo4 foo5 foo6
---
foo1| aa ab zz ad ae af
On 4/3/2024 3:06 PM, WordWeaver Evangelist via Python-list wrote:
Hello everyone! It has been a l-o-n-g time -- nine years in fact --since I last
participated on this mailing list.
[snip]
3. You are very familiar with the Jython 2 environment, which I am told is
based on Python 2 and NOT
that I am 70 years old, I am NOT a
programmer, and I do not know any programming languages. Yes, I am a newbie, a
noob, a greenhorn. :) So, if anyone here is willing to help me, you are going
to need a lot of patience . like ChatGPT :)
Following the coding example of another open-source
and the memorize function you make gets
relatively few requests that are identical, it may not be worthwhile.
-Original Message-
From: Python-list On
Behalf Of MRAB via Python-list
Sent: Sunday, March 31, 2024 3:24 PM
To: python-list@python.org
Subject: Re: Can you help me
On 2024-03-31 09:04, marc nicole wrote:
Thanks for the first comment which I incorporated
but when you say "You can't use a list as a key, but you can use a
tuple as a key,
provided that the elements of the tuple are also immutable."
does it mean the result of sum of the array is not
Thanks for the first comment which I incorporated
but when you say "You can't use a list as a key, but you can use a tuple as
a key,
provided that the elements of the tuple are also immutable."
does it mean the result of sum of the array is not convenient to use as
key as I do?
Which tuple I
On 2024-03-31 00:09, marc nicole via Python-list wrote:
I am creating a memoization example with a function that adds up / averages
the elements of an array and compares it with the cached ones to retrieve
them in case they are already stored.
In addition, I want to store only if the result of
I am creating a memoization example with a function that adds up / averages
the elements of an array and compares it with the cached ones to retrieve
them in case they are already stored.
In addition, I want to store only if the result of the function differs
considerably (passes a threshold e.g.
On 2024-03-06, MRAB via Python-list wrote:
> On 2024-03-06 01:44, Ethan Furman via Python-list wrote:
>> On 3/5/24 16:49, MRAB via Python-list wrote:
>> > On 2024-03-06 00:24, Ethan Furman via Python-list wrote:
>> >> On 3/5/24 16:06, Chano Fucks via Python-list wrote:
>> >>
>> >>>
On 2024-03-06 01:44, Ethan Furman via Python-list wrote:
On 3/5/24 16:49, MRAB via Python-list wrote:
> On 2024-03-06 00:24, Ethan Furman via Python-list wrote:
>> On 3/5/24 16:06, Chano Fucks via Python-list wrote:
>>
>>> [image: image.png]
>>
>> The image is of MS-Windows with the
On 3/5/24 18:44, Ethan Furman via Python-list wrote:
On 3/5/24 16:49, MRAB via Python-list wrote:
> On 2024-03-06 00:24, Ethan Furman via Python-list wrote:
>> On 3/5/24 16:06, Chano Fucks via Python-list wrote:
>>
>>> [image: image.png]
>>
>> The image is of MS-Windows with the python
On 3/5/24 16:49, MRAB via Python-list wrote:
> On 2024-03-06 00:24, Ethan Furman via Python-list wrote:
>> On 3/5/24 16:06, Chano Fucks via Python-list wrote:
>>
>>> [image: image.png]
>>
>> The image is of MS-Windows with the python installation window of "Repair
Successful". Hopefully
On 2024-03-06 00:24, Ethan Furman via Python-list wrote:
On 3/5/24 16:06, Chano Fucks via Python-list wrote:
[image: image.png]
The image is of MS-Windows with the python installation window of "Repair
Successful". Hopefully somebody better at
explaining that problem can take it from
On 2024-03-06 00:06, Chano Fucks via Python-list wrote:
[image: image.png]
This list removes all images.
--
https://mail.python.org/mailman/listinfo/python-list
On 3/5/24 16:06, Chano Fucks via Python-list wrote:
[image: image.png]
The image is of MS-Windows with the python installation window of "Repair Successful". Hopefully somebody better at
explaining that problem can take it from here...
--
~Ethan~
--
[image: image.png]
--
https://mail.python.org/mailman/listinfo/python-list
On 7/11/2023 9:02 am, Jason Friedman via Python-list wrote:
On Sun, Nov 5, 2023 at 1:23 PM office officce via Python-list <
python-list@python.org> wrote:
which python version is better to be used and how to make sure it works on
my window 10 because i downloaded it and it never worked so I
On Sun, Nov 5, 2023 at 1:23 PM office officce via Python-list <
python-list@python.org> wrote:
> which python version is better to be used and how to make sure it works on
> my window 10 because i downloaded it and it never worked so I uninstall to
> do that again please can you give me the steps
which python version is better to be used and how to make sure it works on my
window 10 because i downloaded it and it never worked so I uninstall to do that
again please can you give me the steps on how it will work perfectly
from
Kenny
--
https://mail.python.org/mailman/listinfo/python-list
. Using drone technology and AI
to collect and process visual data, the founders took action to collect
data to help save the world’s rarest dolphin from extinction and
influence future marine conservation efforts.
The MAUI63 team uses a customised drone to find and track the movement
of dolphins
> wrote:
> On 17 May 2023, at 20:35, Jason Qian via Python-list
<[2]python-list@python.org> wrote:
>
> Hi,
>
> I Need some of your help.
>
> I have the following C code to import *Import python.* It
via Python-list <
> python-list@python.org> wrote:
> >
> > Hi,
> >
> > I Need some of your help.
> >
> > I have the following C code to import *Import python.* It works 99% of
> > the time, but sometimes receives "*ImportError
> On 17 May 2023, at 20:35, Jason Qian via Python-list
> wrote:
>
> Hi,
>
> I Need some of your help.
>
> I have the following C code to import *Import python.* It works 99% of
> the time, but sometimes receives "*ImportError('Error: Reinit is
&g
Hi,
I Need some of your help.
I have the following C code to import *Import python.* It works 99% of
the time, but sometimes receives "*ImportError('Error: Reinit is
forbidden')*". error.
**We run multiple instances of the app parallelly.
*** Python version(3.7.0 (v3.7.0:
Awesome, thanks!
On Thu, May 11, 2023 at 1:47 PM Eryk Sun wrote:
> On 5/11/23, Jason Qian via Python-list wrote:
> >
> > in the Python, I have a array of string
> > var_array=["Opt1=DG","Opt1=DG2"]
> > I need to call c library and pass var_array as parameter
> > In the argtypes, how do I
On 5/11/23, Jason Qian via Python-list wrote:
>
> in the Python, I have a array of string
> var_array=["Opt1=DG","Opt1=DG2"]
> I need to call c library and pass var_array as parameter
> In the argtypes, how do I set up ctypes.POINTER(???) for var_array?
>
>
10:00 AM, Jason Qian via Python-list
> wrote:
>
> Hi,
>
> Need some help,
>
> in the Python, I have a array of string
>
> var_array=["Opt1=DG","Opt1=DG2"]
>
> I need to call c library and pass var_array as parameter
>
> In the
Hi,
Need some help,
in the Python, I have a array of string
var_array=["Opt1=DG","Opt1=DG2"]
I need to call c library and pass var_array as parameter
In the argtypes, how do I set up ctypes.POINTER(???) for var_array?
func.argtypes=[ctypes.c_void_p,ctypes.c
On 4/10/2023 9:59 AM, Jack Gilbert wrote:
I D/L 3.11.3, I can see it in CMD
running W10 64bit
I have IDL on my desktop,
HOW do I get 3.11.3 on my desktop?
If you mean "How can I create a shortcut to Python 3.11.3 on my desktop
that opens an interactive Python session", here is one way:
use where cmd to find out the path of the binary and create a shortcut to
that file on desktop
Regards,
*Sravan Chitikesi*
AWS Solutions Architect - Associate
On Mon, Apr 10, 2023 at 10:03 AM Jack Gilbert <00jhen...@gmail.com> wrote:
> I D/L 3.11.3, I can see it in CMD
>
> running W10 64bit
>
I D/L 3.11.3, I can see it in CMD
running W10 64bit
I have IDL on my desktop,
HOW do I get 3.11.3 on my desktop?
Thanks
Jack g
--
https://mail.python.org/mailman/listinfo/python-list
On 3/28/2023 1:50 PM, a a wrote:
On Tuesday, 28 March 2023 at 18:12:40 UTC+2, Thomas Passin wrote:
On 3/28/2023 8:47 AM, a a wrote:
Ok, I can export bookmarks to html file and open it in Firefox to get
a long list of clickable urls but icon of the bookmarked web page is missing.
When I open
On Tuesday, 28 March 2023 at 18:12:40 UTC+2, Thomas Passin wrote:
> On 3/28/2023 8:47 AM, a a wrote:
> > Ok, I can export bookmarks to html file and open it in Firefox to get
> > a long list of clickable urls but icon of the bookmarked web page is
> > missing.
> >
> > When I open Bookmarks as
On 3/28/2023 8:47 AM, a a wrote:
Ok, I can export bookmarks to html file and open it in Firefox to get
a long list of clickable urls but icon of the bookmarked web page is missing.
When I open Bookmarks as right a side-bar I can view and identify an individual
Boomarks by icon,
so I would like
On Tuesday, 28 March 2023 at 06:33:44 UTC+2, Thomas Passin wrote:
> On 3/27/2023 8:37 PM, a a wrote:
> >> To save the tabs, right click any one of them and select the "Select All
> >> Tabs" item. They will all highlight. Right click on one of them and
> >> select the "Bookmark Tabs" item. A
On Tuesday, 28 March 2023 at 06:33:44 UTC+2, Thomas Passin wrote:
> On 3/27/2023 8:37 PM, a a wrote:
> >> To save the tabs, right click any one of them and select the "Select All
> >> Tabs" item. They will all highlight. Right click on one of them and
> >> select the "Bookmark Tabs" item. A
On 3/27/2023 8:37 PM, a a wrote:
I can select All Opened Tabs (as from the given link)
and get 1,000+ Opened Tabs ( I am afraid, this is s number of all saved
bookmarks in the past)
I go to menu, Bookmarks, Manage Boomarks and copy Tabs
and
On 3/27/2023 8:37 PM, a a wrote:
To save the tabs, right click any one of them and select the "Select All
Tabs" item. They will all highlight. Right click on one of them and
select the "Bookmark Tabs" item. A dialog box will open with an entry
lone for the Name to use (like "Tabset1") and a
new machine, import them into Firefox
> >>> there. They won't open in tabs, but it will be easy to find them and
> >>> open them when you want to. You probably will want to copy over your
> >>> bookmarks anyway, so this adds little effort.
> >>>
> >>&
rd of open tabs that you can copy or
export. I don't know about this but an internet search should help.
Good luck.
a nice solution comes from
How to Copy URLs of All Open Tabs in Firefox
https://www.howtogeek.com/723921/how-to-copy-urls-of-all-open-tabs-in-firefox/
right clicking opened tab,
don't know about this but an internet search should help.
Good luck.
a nice solution comes from
How to Copy URLs of All Open Tabs in Firefox
https://www.howtogeek.com/723921/how-to-copy-urls-of-all-open-tabs-in-firefox/
right clicking opened tab, all opened tabs can be selected
movin
; bookmarks anyway, so this adds little effort.
>
> 3. There may be a specific record of open tabs that you can copy or
> export. I don't know about this but an internet search should help.
>
> Good luck.
a nice solution comes from
How to Copy URLs of All Open Tabs in Fire
ll be easy to find them and
open them when you want to. You probably will want to copy over your
bookmarks anyway, so this adds little effort.
3. There may be a specific record of open tabs that you can copy or
export. I don't know about this but an internet search should help.
Good luck
On Thursday, 23 March 2023 at 22:15:10 UTC+1, Thomas Passin wrote:
> On 3/23/2023 3:38 PM, Mats Wichmann wrote:
> > On 3/23/23 09:48, Thomas Passin wrote:
> >
> >> I didn't realize that Christoph Gohlke is still maintaining this site.
> >
> > Unless the the last-changed stuff stopped working,
On 3/23/2023 3:38 PM, Mats Wichmann wrote:
On 3/23/23 09:48, Thomas Passin wrote:
I didn't realize that Christoph Gohlke is still maintaining this site.
Unless the the last-changed stuff stopped working, it's in a static state:
by Christoph Gohlke. Updated on 26 June 2022 at 07:27 UTC
I
On 3/23/23 09:48, Thomas Passin wrote:
I didn't realize that Christoph Gohlke is still maintaining this site.
Unless the the last-changed stuff stopped working, it's in a static state:
by Christoph Gohlke. Updated on 26 June 2022 at 07:27 UTC
--
On 3/18/2023 3:05 PM, Thomas Passin wrote:
downloaded and run HWiNFO and AVE not supported, not greened out
That's too bad; you may be out of luck. It's possible that someone
has compiled the .pyd library in such a way that it does not need the
instruction set extensions. I'm sorry but I
the other libraries/programs that need to use it.
Thank you Thomas for youre kind help.
You are the real Python PRO, you deserve Nobel Prize in Python.
:)
I operated an old Dell computer with Windows XP preinstalled
and upgraded XP to Windows 7 to get some web services to work.
Unfortunately I fail
Hi,
On Wed, Mar 22, 2023 at 11:37 AM Mohammed nour Koujan
wrote:
>
>
> --
What message?
Please don't post screenshots - copy and paste the errors from your machine...
Thank you.
> https://mail.python.org/mailman/listinfo/python-list
--
https://mail.python.org/mailman/listinfo/python-list
;> "After importing the libraries, we now read the .csv file:
> >>
> >> with open('accl1.csv', 'r') as f:
> >> data = list(csv.reader(f, delimiter=',')) #reading csv file
> >>
> >>
> >> Just read about AVE from Wikipedia
> >>
>
--
https://mail.python.org/mailman/listinfo/python-list
On 3/17/2023 11:52 AM, a a wrote:
On Friday, 17 March 2023 at 16:32:53 UTC+1, a a wrote:
On Friday, 17 March 2023 at 16:03:14 UTC+1, Thomas Passin wrote:
On 3/16/2023 8:07 PM, a a wrote:
Crash report:
Problem Caption:
Problem Event Name: APPCRASH
Application name: python.exe
Application
On 3/17/2023 11:32 AM, a a wrote:
On Friday, 17 March 2023 at 16:03:14 UTC+1, Thomas Passin wrote:
It would be worth trying to downgrade the multiarray version to an
earlier one and see if that fixes the problem.
Thank you Thomas for your kind reply.
I am fully aware to be living on an old
On Friday, 17 March 2023 at 16:03:14 UTC+1, Thomas Passin wrote:
> On 3/16/2023 8:07 PM, a a wrote:
> > Crash report:
> >
> > Problem Caption:
> > Problem Event Name: APPCRASH
> > Application name: python.exe
> > Application version: 3.8.7150.1013
> > Application time signature: 5fe0df5a
>
On Friday, 17 March 2023 at 16:03:14 UTC+1, Thomas Passin wrote:
> On 3/16/2023 8:07 PM, a a wrote:
> > Crash report:
> >
> > Problem Caption:
> > Problem Event Name: APPCRASH
> > Application name: python.exe
> > Application version: 3.8.7150.1013
> > Application time signature: 5fe0df5a
>
On Friday, 17 March 2023 at 16:32:53 UTC+1, a a wrote:
> On Friday, 17 March 2023 at 16:03:14 UTC+1, Thomas Passin wrote:
> > On 3/16/2023 8:07 PM, a a wrote:
> > > Crash report:
> > >
> > > Problem Caption:
> > > Problem Event Name: APPCRASH
> > > Application name: python.exe
> > >
On 3/16/2023 8:07 PM, a a wrote:
Crash report:
Problem Caption:
Problem Event Name: APPCRASH
Application name: python.exe
Application version: 3.8.7150.1013
Application time signature: 5fe0df5a
Error module name: _multiarray_umath.cp38-win32.pyd
Version of the module with
Crash report:
Problem Caption:
Problem Event Name: APPCRASH
Application name: python.exe
Application version: 3.8.7150.1013
Application time signature: 5fe0df5a
Error module name:_multiarray_umath.cp38-win32.pyd
Version of the module with the error: 0.0.0.0
Time signature
;, "--zone", choices=pytz.all_timezones)
args = parser.parse_args()
print(args)
print(f"Specified timezone: {args.zone}")
It works, but when I run it with the -h option it dumps all entries in
pytz.all_timezones. I would like to modify the help format for just
-z|--zone opt
ll_timezones. I have
def main():
parser = argparse.ArgumentParser()
parser.add_argument("-z", "--zone", choices=pytz.all_timezones)
[...]
It works, but when I run it with the -h option it dumps all entries in
pytz.all_timezones.
What happens if you just presupply a
gt; >
> >def main():
> >parser = argparse.ArgumentParser()
> >parser.add_argument("-z", "--zone", choices=pytz.all_timezones)
> [...]
> >
> >It works, but when I run it with the -h option it dumps all entries in
> >pytz.all_timezones.
&
t;, choices=pytz.all_timezones)
[...]
It works, but when I run it with the -h option it dumps all entries in
pytz.all_timezones.
What happens if you just presupply a `help=` parameter in
`add_argument`?
Cheers,
Cameron Simpson
--
https://mail.python.org/mailman/listinfo/python-list
> print(“Invalid timezone”,file=sys.stderr)
>
This is what I use now. I still wonder if I can mold HelpFormatter to
do what I want it to do.
> …
>
>
>
>
> From: Python-list on
> behalf of Ivan "Rambius" Ivanov
> Date: Frida
van "Rambius" Ivanov
Date: Friday, January 27, 2023 at 3:33 PM
To: Python
Subject: Custom help format for a choice argparse argument
*** Attention: This is an external email. Use caution responding, opening
attachments or clicking on links. ***
Hello,
I am developing a script that ac
rgs()
print(args)
print(f"Specified timezone: {args.zone}")
It works, but when I run it with the -h option it dumps all entries in
pytz.all_timezones. I would like to modify the help format for just
-z|--zone option. I read the docs about HelpFormatter and argparse.py
and I ended up w
John McCardle wrote at 2023-1-25 22:31 -0500:
> ...
>1) To get the compiled Python to run independently, I have to hack
>LD_LIBRARY_PATH to get it to execute. `LD_LIBRARY_PATH=./Python-3.11.1
>./Python-3.11.1/python` .
The need to set `LD_LIBRARY_PATH` usually can be avoided via
a link time
Greetings,
I'm working on embedding a Python interpreter into a C++ application. My
embedding example program is here, largely taken from Python docs:
https://gist.github.com/jmccardle/f3f19d3753ae023aa52b927f0d181c43
I'm simply not interested in writing in Lua, so regardless of any
i have google chrome so i download the
> Webdriver Chrome
> and i just add it on my c:// driver and when i add some script on my
> desktop i try to run it from the terminal and all the time i receive this
> error message : maybe you guys can help me with this one?
> when i add some ran
Hello guys,
i install python 3.11.1, and i have google chrome so i download the
Webdriver Chrome
and i just add it on my c:// driver and when i add some script on my
desktop i try to run it from the terminal and all the time i receive this
error message : maybe you guys can help me with this one
tried joining them together, one after the other?
Have you looked at the Python docs?
eg https://docs.python.org/3/library/csv.html
Do you need the help of a professional to write code for you?
If you are learning Python, perhaps the Tutor list will be a more
appropriate for you...
--
Regards
On 2022-11-05 11:07, Stefan Ram wrote:
Robert Latest writes:
result += ' ' *( length - len( result ))
Nice, I didn't know that one could multiply strings by negative numbers without
error.
Thanks, but today I thought that maybe there might
be a solution for getting a field of a fixed
On 2022-10-24 01:02:24 +, rbowman wrote:
> On Mon, 24 Oct 2022 10:02:10 +1100, Cameron Simpson wrote:
> > I'd say GMail are rudely dropping traffic to port 2525. Maybe try just
> > 25,
> > the normal SMTP port?
>
> 2525 is an alternative to 587, the standard TLS port.
Port 587 is not the
On 24Oct2022 01:02, rbowman wrote:
On Mon, 24 Oct 2022 10:02:10 +1100, Cameron Simpson wrote:
I'd say GMail are rudely dropping traffic to port 2525. Maybe try
just 25, the normal SMTP port?
2525 is an alternative to 587, the standard TLS port.
Yah. My point was more focussed on GMail's
On Mon, 24 Oct 2022 10:02:10 +1100, Cameron Simpson wrote:
> I'd say GMail are rudely dropping traffic to port 2525. Maybe try just
> 25,
> the normal SMTP port?
2525 is an alternative to 587, the standard TLS port. 25 and 587 work.
telnet smtp.gmail.com 587
Trying 2607:f8b0:4023:1004::6d...
Please try to choose more descriptive subject lines (eg "problem with
sock.connect" or similar). That you want help is almost implicit, and
what the whole list is for.
Anyway, to your problem:
On 23Oct2022 10:19, Shuaib Akhtar wrote:
How to fix Traceback (most recent call last)
How to fix Traceback (most recent call last):
File "C:\Program
Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\socket.py",
line 833, in create_connection
sock.connect(sa)
TimeoutError: [WinError 10060] A connection attempt
Cameron Simpson wrote:
> Stefan's code implements it's own format_field and falls back to the
> original format_field(). That's standard subclassing practice, and worth
> doing reflexively more of the time - it avoids _knowing_ that
> format_field() just calls format().
>
> So I'd take Stefan's
On 21Oct2022 16:55, Stefan Ram wrote:
I was not aware of "isdigit".
There's also "isdecimal" and "isnumeric". They all have subtly different
meanings :-)
Cheers,
Cameron Simpson
--
https://mail.python.org/mailman/listinfo/python-list
On 21Oct2022 16:55, Stefan Ram wrote:
Robert Latest writes:
return super().format_field( value, format_string )
Why do you prefer super().format_field() over plain format()? The doc says:
"format_field() simply calls format()." So I figured I might do the same.
I am not aware of any
Stefan Ram wrote:
[the solution]
thanks, right on the spot. I had already figured out that format_field() is the
one method I need, and thanks for the str.translate method. I knew that raking
seven RE's across the same string HAD to be stupid.
Have a nice weekend!
--
Hi all,
I would like to modify the standard str.format() in a way that when the
input field is of type str, there is some character replacement, and the
string gets padded or truncated to the given field width. Basically like
this:
fmt = MagicString('<{s:6}>')
print(fmt.format(s='Äußerst'))
Hi Stefan,
I have now implemented a version of this, works nicely. I have a few minor
questions / remarks:
> result += ' ' *( length - len( result ))
Nice, I didn't know that one could multiply strings by negative numbers without
error.
> def __init__( self ):
>
Well, although I never used pandas and never will, if that's about
artworks, that's mine.
Obviously, you need to iterate columns and sum values returned by the
snippet you provided. A quick search tells us to use colums property.
So, it might look like this:
na_sum =
For a python class I am taking..
In this challenge, you'll be working with a DataFrame that contains data
about artworks, and it contains many missing values.
Your task is to create a variable called na_sum that contains the total
number of missing values in the DataFrame. When that's completed,
On 11/10/2022 10.48, Kevin M. Wilson via Python-list wrote:
C:\Users\kevin\PycharmProjects\Myfuturevalue\venv\Scripts\python.exe
C:\Users\kevin\PycharmProjects\Myfuturevalue\FutureValueCal.py File
"C:\Users\kevin\PycharmProjects\Myfuturevalue\FutureValueCal.py", line 31 elif
(years >
C:\Users\kevin\PycharmProjects\Myfuturevalue\venv\Scripts\python.exe
C:\Users\kevin\PycharmProjects\Myfuturevalue\FutureValueCal.py File
"C:\Users\kevin\PycharmProjects\Myfuturevalue\FutureValueCal.py", line 31
elif (years > 50.0) or (years < 1.0) : ^IndentationError: expected an
On 6/11/22 15:29, dn wrote:
> On 12/06/2022 02.51, Ayesha Tassaduq wrote:
>> I am a beginner in python I want to transfer generated hash to a local
>> database. I try it with socket programming but I fail. can anyone please
>> help me ow I can do this?
>
> Whe
On 12/06/2022 02.51, Ayesha Tassaduq wrote:
> I am a beginner in python I want to transfer generated hash to a local
> database. I try it with socket programming but I fail. can anyone please help
> me ow I can do this?
Where is the database?
Where is the socket?
What are the (fu
I am a beginner in python I want to transfer generated hash to a local
database. I try it with socket programming but I fail. can anyone please help
me ow I can do this?
class Block:
def __init__( self, previous_block_hash, transaction_list ):
self.previous_block_hash
"""
eyed3.id3. would appear to be specific to non-MP3 data files.
So... I'd try the interactive environment and check each layer...
dir(myID3)
(based upon the error, there will not be a "id3" key; so try
dir(myID3.)
get the following error:
>> File "/Documents/Python/Test1/main.py", line 94, in
>> myCDID = myID3.id3.frames.MusicCDIdFrame(id=b'MCDI', toc=b'')
>> AttributeError: 'Mp3AudioFile' object has no attribute 'id3'
>> Any help or suggestion greatly appreciated.
myID3.id3.frames.MusicCDIdFrame(id=b'MCDI', toc=b'')
When I run this, I get the following error:
File "/Documents/Python/Test1/main.py", line 94, in
myCDID = myID3.id3.frames.MusicCDIdFrame(id=b'MCDI', toc=b'')
AttributeError: 'Mp3AudioFile' object has no attribute 'id3'
Any help o
')
When I run this, I get the following error:
File "/Documents/Python/Test1/main.py", line 94, in
myCDID = myID3.id3.frames.MusicCDIdFrame(id=b'MCDI', toc=b'')
AttributeError: 'Mp3AudioFile' object has no attribute 'id3'
Any help or suggestion greatly appreciated.
All the
1 - 100 of 14042 matches
Mail list logo